Re: getRequestURI() returns query parameters for path="/submit.do?my=Update

2009-05-15 Thread mule_user
ts 1.1 application, I noticed that > request.getRequestURI() also returns the query string, if the forward > happens to have query parameters like below: > > > > request.getRequestURI() call inside an Action class returns > /MyProjWeb/submit.do?my=Update >

getRequestURI() returns query parameters for path="/submit.do?my=Update

2009-05-14 Thread mule_user
In WebSphere 5.1 test server for Struts 1.1 application, I noticed that request.getRequestURI() also returns the query string, if the forward happens to have query parameters like below: request.getRequestURI() call inside an Action class returns /MyProjWeb/submit.do?my=Update

Re: query parameters

2006-03-08 Thread Madhav Bhargava
Yup i realised that as soon as sent this mail. Thanks for the reply. On 3/7/06, David Delbecq <[EMAIL PROTECTED]> wrote: > > Encoding and decoding of query parameters is the job of container > (tomcat, jboss, websphere, what ever you are using). The only struts > relate

Re: query parameters

2006-03-07 Thread David Delbecq
Encoding and decoding of query parameters is the job of container (tomcat, jboss, websphere, what ever you are using). The only struts related exception is for multipart/form-data (used for file uploads). There it's common-fileupload library which does the decoding. Why would you want to d

query parameters

2006-03-07 Thread Madhav Bhargava
Hi All, It is a common practice to encode special characters such as ' ', %, #, :, $ etc.. when sending parameters in the query string along with the URL. We have a similar requirement. Some of the query parameters can contain special characters and therefore we went for UTf-8 encodin