Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

response.encodeURL not working in a custom JSP tag

843835Feb 5 2003 — edited Feb 6 2003
Hi, I have developed a simple <dom:encodeURL href="/path/to/Servlet" /> tag that is meant to encode the URL using response.encodeURL.

In my tag I simply have;

HttpServletResponse response = (HttpServletResponse)pageContext.getResponse();

response.encodeURL(href);

pageContext.getOut().print(href);

However, this is not encoding the url at all and no jsessionid is being put into the URL.

Anyone know why?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2003
Added on Feb 5 2003
1 comment
315 views