RE: Intermittent Session Problems in Strut2.

2009-09-15 Thread John Liptak
I recommend using a tool like Fiddler or HttpWatch to see if your session cookie is being messed with. I have seen Apache proxy server 2.0 build 50 cache the cookie set command on images etc. So when you get a cached copy of an image you get the session that the other user had when the image was

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
I would change your result configuration to: list ${nomeBusca} ${cpfBusca} ${page} This style works for me with unicode (Chinese) data. When you use the param tab it 'knows" it is for a URL and will properly encode the data. 2009/9/15 "Francisco Ba

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
flow variable nomeBusca: (update) ColaboradorEditAction.java > xwork-Colaborador.xml > (list) ColaboradorListAction.java (BUG) ColaboradorEditAction.java-- package com.fortes.rh.web.action.geral; import com.fortes.rh.web.action.MyActionSupportEdit; import com.opensym

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
Better show your full action and result configuration from struts.xml so we can see how you are passing parameters. 2009/9/15 "Francisco Barroso (Fortes Informática)" < franciscobarr...@grupofortes.com.br> > I've done it already (change URIEncoding to UTF-8). > The problem persists... > > Greg Li

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
I've done it already (change URIEncoding to UTF-8). The problem persists... Greg Lindholm escreveu: If If you are using Tomcat as a server then you will need to add URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If not specified, ISO-8859-1 will be used [1]. This URIEnco

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
I've done it already (change the struts.i8n.encoding in struts.xml/properties). The problem persists... Tommy Pham escreveu: - Original Message From: Francisco Barroso (Fortes Informática) To: user@struts.apache.org Sent: Tuesday, September 15, 2009 8:29:56 AM Subject: problem w

Re: submit button

2009-09-15 Thread Dale Newfield
fea jabi wrote: may I know what the javascript will be? add an onclick on the button that adds the parameter you want. Or just set a name on the submit button so that "Add+Employee" will be sent if that button is pressed, and teach the action to decipher all the i18n versions of that string.

RE: submit button

2009-09-15 Thread fea jabi
may I know what the javascript will be? > Date: Tue, 15 Sep 2009 11:59:20 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: submit button > > fea jabi wrote: > > have a submit button which has the value of "Add Employee" > > Add Employee > > > > but when submitt

Re: submit button

2009-09-15 Thread Dale Newfield
fea jabi wrote: have a submit button which has the value of "Add Employee" Add Employee but when submitted I want the property to be set to another value "add" in the request action="add" How can this be done? Without javascript it cannot. -Dale --

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Greg Lindholm
If If you are using Tomcat as a server then you will need to add URIEncoding="UTF-8" attribute to the Connector in the server.xml file, If not specified, ISO-8859-1 will be used [1]. This URIEncoding attribute applies only to GET requests (not POST). [1] http://tomcat.apache.org/tomcat-5.5-doc/co

Re: problem with encoding of parameters, type="redirect"

2009-09-15 Thread Tommy Pham
- Original Message > From: Francisco Barroso (Fortes Informática) > > To: user@struts.apache.org > Sent: Tuesday, September 15, 2009 8:29:56 AM > Subject: problem with encoding of parameters, type="redirect" > > I just migrated my application from ISO8859-1 to UTF-8. > I have a problem

problem with encoding of parameters, type="redirect"

2009-09-15 Thread Francisco Barroso (Fortes Informática)
I just migrated my application from ISO8859-1 to UTF-8. I have a problem with encoding of parameters. There is an error passing a parameter from xwork to an action using redirect: ... type="redirect">& lt;/result> ... If the parameter name has an special character (such as José), in the act

submit button

2009-09-15 Thread fea jabi
have a submit button which has the value of "Add Employee" Add Employee but when submitted I want the property to be set to another value "add" in the request action="add" How can this be done? Thanks. _ Bing brin

Re: mapping result input & success to same jsp file

2009-09-15 Thread Tommy Pham
Hi Pawel & Lukasz, Thanks for the reply. --- On Tue, 9/15/09, Paweł Wielgus wrote: > From: Paweł Wielgus > Subject: Re: mapping result input & success to same jsp file > To: "Struts Users Mailing List" > Date: Tuesday, September 15, 2009, 3:30 AM > Hi all, > and just to be sure that everythin

text box bean:write

2009-09-15 Thread m.harig
hello all i've doubt in generating dynamic text box values using bean:write , am populating a TreeSet object which has unique values , and i've to display it on jsp page on text boxes (for example ,the TreeSet has 5 elements) . how do i do it? please any1 suggest me. -- View this mes

Re: mapping result input & success to same jsp file

2009-09-15 Thread Paweł Wielgus
Hi all, and just to be sure that everything is ok, check in config browser plugin your mappings. http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł Wielgus. 2009/9/15 Lukasz Lenart : > 2009/9/15 Tommy Pham : >> Is there any problem with action mappin

Re: [S2] accessing enum inside a Class

2009-09-15 Thread Steven Yang
yeahi just went back to check it is set to true On Tue, Sep 15, 2009 at 3:20 PM, Lukasz Lenart wrote: > Did you set struts.ognl.allowStaticMethodAccess to true? > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > http://dailylog.lenart.org.pl/ > > -

Re: mapping result input & success to same jsp file

2009-09-15 Thread Lukasz Lenart
2009/9/15 Tommy Pham : > Is there any problem with action mapping result input & success to the same > jsp file?  The jsp is not rendered correctly for input result and I'm not > getting any error/warning from Struts with devMode=true. Nope, it should work, maybe you have some errors in jsp inst

mapping result input & success to same jsp file

2009-09-15 Thread Tommy Pham
Hi @all, Is there any problem with action mapping result input & success to the same jsp file? The jsp is not rendered correctly for input result and I'm not getting any error/warning from Struts with devMode=true. Thanks, Tommy

Re: [S2] accessing enum inside a Class

2009-09-15 Thread Lukasz Lenart
Did you set struts.ognl.allowStaticMethodAccess to true? Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: u