All,

If I'm using response.encodeURL(...) and response.encodeRedirectURL(...) in
my controller servlet, and all forms etc. are submitted to this servlet
(in <form action="/path/servlet" ...>), do I need to encode the url
in the action parameter of the form?

If yes, do I just use
<form action="<%=response.encodeURL("/path/servlet")%>" ...>
or is there something else I need to do?

TIA,

        -Duncan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to