Hi,

I have a strange problem regarding the encoding of the URL and form parameters in my 
jsp-page. In the beginning of the page, it works ok to output to value of the 
parameter, but further down, it fails, like...

line 3: <%=request.getParameter("fromDate")%>

is shown as e.g: 01/01/2004

line 15: System.out.println("repDateFrom before: "+request.getParameter("fromDate"))

is not shown properly: 01%2F01%2F2004

The only code between these two lines are the output of the display tag.

I have tried to do like:_

String test = java.net.URLDecoder.decode(request.getParameter("fromDate"),"UTF-8");
System.out.println("fromdate decode: "+test);

and that works ok, but it must be an easier way. Maybe some setup in tomcat/jboss? 

Any clue?

Regards,
Bard
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to