Re: excute method

2009-11-27 Thread Eduard Neuwirt
Hello, try to find you message in the Servlet-Container log file. I am not sure abot the target of system.out in the jee context, i suppose it would be the log file. Regards Eduard Nguyen Xuan Son schrieb: dear all in struts.xml i have action name=C0002_Home

Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)

2009-11-27 Thread Robert Graf-Waczenski
The SOB you are talking about is a well-respected (and present) colleague of mine and our team backed the decision, so the fun (which i was not observing as you did) ends exactly here :-( Robert Bill Bohnenberger schrieb: What an amusing thread. It seems to me the only problem here is the

Re: [OT] Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)

2009-11-27 Thread Robert Graf-Waczenski
I agree to your observation, Dave. Point well made. I would like to get a comment from you about my claim about backwards incompatibility, though. Robert Dave Newton schrieb: Robert Graf-Waczenski wrote: And, to tell the truth, our choice to use getmProperty() as accessor method naming

Re: [OT] Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)

2009-11-27 Thread Robert Graf-Waczenski
Dave Newton schrieb: Robert Graf-Waczenski wrote: And, to tell the truth, our choice to use getmProperty() as accessor method naming pattern was a bad one originally but we lived with it since the beginning and are now being bitten in the behind :-) That about sums it up, I think. I'm

FilterDispatcher configuration in web.xml

2009-11-27 Thread Kishore Kumar
Hi, Is there a way to change the FilterDispatcher URL Pattren other than /*? I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren ICEFaces requests are being ignored. Can i use url-pattren /*.action ? As per the struts documentation it says to use following filter

Re: excute method

2009-11-27 Thread Nguyen Xuan Son
Dear Thompson Here is the web.xml's content welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name

[Struts 2 + EJB 3] Display an image

2009-11-27 Thread Fernandes Celinio
Hi, I have an entity bean which has a BLOB attribute. That BLOB attribute maps to a BLOB column in a table in an Oracle database. @Entity public class Boo implements Serializable { ... @Lob @Basic(fetch=FetchType.LAZY) private byte[] image; public byte[]

Re: FB Connect Plugins

2009-11-27 Thread Frans Thamura
strange with my mailbox, i never receive an email from this mailing list but i can see my email go to the mailing list in mail-archive.com strange

FB Connect question 2.0

2009-11-27 Thread Frans Thamura
hi Saeed Iqbal i want to know how to handle the person that has click the Connect button like tips to map the input and get the user info from that people and save in the action -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian jTechnopreneur

S2 TX with Spring

2009-11-27 Thread Frans Thamura
hi all anyone have experience with Ttransaction with Spring? i see that if we add tx in the apps context, it becomes transaction ready but i still finding out how to understand the way of this is this mailing list the right one, or must ask in spring -- Frans Thamura Meruvian. Experiential

Re: [Struts 2 + EJB 3] Display an image

2009-11-27 Thread Saeed Iqbal
Are you putting the file name in session string or the binary file? On Friday, November 27, 2009, Fernandes Celinio cfernan...@sopragroup.com wrote: Hi, I have an entity bean which has a BLOB attribute. That BLOB attribute maps to a BLOB column in a table in an Oracle database. @Entity

Re: [Struts 2 + EJB 3] Display an image

2009-11-27 Thread Paweł Wielgus
Hi Fernandes, i think that it is impossible what You are trying to achieve. You cannot pur image to img tag inside html. Img tag will result in just another http request, and this another request must be serviced by your server. So the code will look like this: img src=/showMyimage.action?id=123

RE: [Struts 2 + EJB 3] Display an image

2009-11-27 Thread Fernandes Celinio
Hi, Thanks for helping. Well, I of course needed to call the action in my img tag. It works. Thanks again. -Message d'origine- De : Paweł Wielgus [mailto:poulw...@gmail.com] Envoyé : vendredi 27 novembre 2009 13:04 À : Struts Users Mailing List Objet : Re: [Struts 2 + EJB 3] Display an

StrutsSpringTestCase

2009-11-27 Thread carl ballantyne
Hi Guys, I have the following spring bean definition files: myapp-application.xml myapp-datasource.xml myapp-datasource-test.xml When unit testing I want to use myapp-application.xml and myapp-datasource-test.xml. In the real world I want to use myapp-application.xml and

RE: user Digest 27 Nov 2009 09:04:42 -0000 Issue 8940

2009-11-27 Thread Unmesh joshi
The default etag value of the object's hashcode is really only meant as a helpful default to get you going. I'd highly recommend setting your own etag value with something like the underlying db row's timestamp or whatever. I think this default implementation is very misleading and you will

Re: StrutsSpringTestCase

2009-11-27 Thread carl ballantyne
I just found that I can actually include xml files directly via Spring. Guess I should RTFM first. So I have created a myapp-application-test.xml which contains: import resource=myapp-application.xml/ import resource=myapp-datasource-test.xml/ Does the trick and clean

Re: S2 TX with Spring

2009-11-27 Thread Saeed Iqbal
tx:annotation-driven/ tx:advice id=txAdvice tx:attributes tx:method name=get* read-only=true/ tx:method name=*/ /tx:attributes /tx:advice and use @Transactional over methods in service layer. On Fri, Nov 27, 2009 at 4:53 PM, Frans Thamura

Re: FB Connect question 2.0

2009-11-27 Thread Saeed Iqbal
Frankly Frans I cannot tell you how as I did not work with FB directly. I can tell you how to do individual components of it, not the whole. On Fri, Nov 27, 2009 at 4:49 PM, Frans Thamura fr...@meruvian.org wrote: hi Saeed Iqbal i want to know how to handle the person that has click the

Re: S2 TX with Spring

2009-11-27 Thread Saeed Iqbal
Oh and dont forget the proper namespace. Take it from documentation for you version. On Fri, Nov 27, 2009 at 7:35 PM, Saeed Iqbal saee...@gmail.com wrote: tx:annotation-driven/ tx:advice id=txAdvice tx:attributes tx:method name=get* read-only=true/

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread Wes Wannemacher
I think you can safely map to *.action and /struts/* -Wes On Fri, Nov 27, 2009 at 12:41 AM, Kishore Kumar kishorec...@aol.com wrote: Hi, Is there a way to change the FilterDispatcher URL Pattren other than /*? I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren

Re: excute method

2009-11-27 Thread Wes Wannemacher
On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son yama...@gmail.com wrote: Dear Thompson Here is the web.xml's content welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list filter filter-namestruts2/filter-name

Re: excute method

2009-11-27 Thread Oscar
I think that you have to implement Preparable interface, and you can't declare prepare() throwing an exception because that's not permitted by methods implementation rules (if i'm wrong tell me please). Wes Wannemacher escribió: On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread phillips1021
When we use additional Filter classes in our Struts 2 applications, we have to put the additional filter and filter mapping nodes before the filter and filter mapping nodes for the Struts 2 filter. For example: filter filter-nameOpenSSODevFilter/filter-name

Re: FilterDispatcher configuration in web.xml

2009-11-27 Thread phillips1021
When we use additional Filter classes in our Struts 2 applications, we have to put the additional filter and filter mapping nodes before the filter and filter mapping nodes for the Struts 2 filter. For example: filter filter-nameOpenSSODevFilter/filter-name

Re: Validation and conversion conflict - best method?

2009-11-27 Thread ben_979
Carl, if I could bother you for a few more details? I like your solution, it seems elegant (to me at least!). I'm trying to implement it, but I'm not getting the results that you are. I've set up the type converter, and I've verified that it is being invoked. When my conversion fails (for

textfield label localized

2009-11-27 Thread mailtolouis2020-struts
Hi, Can someone tell me how to make the label use my resource bundle value? I've tried this s:textfield label=label.name name=user.name maxlength=35 theme=xhtml/ and s:textfield label=%{getText(label.name)} name=user.name maxlength=35 theme=xhtml/ both are not working. But this work: s:label

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Alex Siman
Oh, Nabble does not show those entities. Them look like next (but w/o spaces between): #1086; #1087; #1080; #1089; #1072; #1085; #1080; #1077; Alex Siman wrote: I just have found another issue after upgrading from [2.1.6] - [2.1.8]. Struts now encode any non latin char to its HTML entity of

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Alex Siman
This option will unescape everything. But I need to leave escaping of next chars: ' As I know it is enough for security. Saeed Iqbal-2 wrote: escape=false can help you or show those characters as encoded values On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Alex Siman
I don't know... Do I need these extra bytes in output? And are that entities good for SEO (Google, others)? Saeed Iqbal-2 wrote: I personally feel that is a good feature of Struts. On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal saee...@gmail.com wrote: escape=false can help you or show

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Saeed Iqbal
These are encoded characters. Either output this but first you must imo try s:property with escape=false On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman aleksandr.si...@gmail.comwrote: I don't know... Do I need these extra bytes in output? And are that entities good for SEO (Google, others)?

Re: textfield label localized

2009-11-27 Thread Saeed Iqbal
There are 2 ways to go about this 1) within Struts tags use key= where your i8nl key should go in. But for that to work your struts needs to know where all the i8nl values are located. Define a constant for it in struts.xml or create a struts.properties to contain this

Re: Validation and conversion conflict - best method?

2009-11-27 Thread Saeed Iqbal
Normally values go from JSP as String. Parse it using Date Formatter and convert it to Date yourself :) I have very interesting experiences with this. On Sat, Nov 28, 2009 at 12:05 AM, ben_979 benninesevenn...@yahoo.ca wrote: Carl, if I could bother you for a few more details? I like your

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Saeed Iqbal
I mean if you want to display decoded HTML value, then feed in encoded values or the other option first On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal saee...@gmail.com wrote: These are encoded characters. Either output this but first you must imo try s:property with escape=false On Sat, Nov

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Miguel
I use lots of pages with accented latin characters, and in the source you can see the native characters, not encoded as html entities. The thing I use, in the %@ page ...% header, that should be the first thing in a jsp, I define the charset as utf-8, and that does the magic, at least for me. %@

national lottery wins

2009-11-27 Thread serhat tanrikut
viewing friends news.aol.com/nation/lottery/prize

Re: Where to disable encrypting of non latin chars?

2009-11-27 Thread Saeed Iqbal
Congrats :) On Saturday, November 28, 2009, Miguel miguel...@gmail.com wrote: I use lots of pages with accented latin characters, and in the source you can see the native characters, not encoded as html entities. The thing I use, in the %@ page ...%  header, that should be the first thing in