An update on this problem:
I've also tried this with Jboss 3.2.3 and the embedded tomcat version 4.X that comes
with Jboss. It does not work here either. But, if I comment out the displaytag code
(between line 3 and 15), the URL parameters are shown properly.
Hence, the problem must be somewhere in displaytag.
Any clue?
Regards,
Bard
----- Original Message -----
From: B�rd Arve Evjen <[EMAIL PROTECTED]>
Date: Tue, 08 Jun 2004 22:47:29 +0800
To: [EMAIL PROTECTED]
Subject: [displaytag-user] Jboss 3.2.3/Tomcat 4.1/Displaytag problems
> 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
--
_____________________________________________________________
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