Re: Difficulties with Include Parameters/java.net.URLEncoder class
From: John C. Bollinger (jobollin_at_indiana.edu)
Date: 02/27/05
- Next message: Tilman Bohn: "Re: Java String comparison"
- Previous message: Chris Smith: "Re: JNI - Sizeof java object"
- Next in thread: rick.huby_at_e-connected.com: "Re: Difficulties with Include Parameters/java.net.URLEncoder class"
- Reply: rick.huby_at_e-connected.com: "Re: Difficulties with Include Parameters/java.net.URLEncoder class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Feb 2005 14:22:06 -0500
This is off-topic in comp.lang.java.beans. Followups set to
comp.lang.java.programmer.
Rick Huby wrote:
> I am building a JSP website and have created a page template that has
> two include pages - a navigation page and a footer page.
[...]
> It all boils down to the java.net.URLEncoder class and specifically the
> encode(String) method. This has been replaced by encode(String s,
> String encType).
>
> My problem is that I have no idea how to use this new method using the
> syntax I already have. Can anybody help?
You cannot fix this in your JSP code: it is an issue with the JSP page
translator provided by your JSP container. I know from personal
experience that Tomcat 4 has this issue, but likely many others do too.
You can seek a JSP container that does not have the issue, you can
abandon JSP for pure servlets, or you can just live with it.
-- John Bollinger jobollin@indiana.edu
- Next message: Tilman Bohn: "Re: Java String comparison"
- Previous message: Chris Smith: "Re: JNI - Sizeof java object"
- Next in thread: rick.huby_at_e-connected.com: "Re: Difficulties with Include Parameters/java.net.URLEncoder class"
- Reply: rick.huby_at_e-connected.com: "Re: Difficulties with Include Parameters/java.net.URLEncoder class"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|