you could try HttpServletResponse.encodeURL(string)...

> -----Original Message-----
> From: ext R.Muthukumar [mailto:[EMAIL PROTECTED]]
> Sent: 27. March 2001 13:27
> To: [EMAIL PROTECTED]
> Subject: Jsp equivalent ....
>
>
> Hi!
> In Asp we can write something like
> lTitle = Server.HTMLEncode(Request("Title"))
> lHTMLpara = lHTMLpara & "<TR><TD><INPUT SIZE=""70"" TYPE=""text""
> NAME=""Title"" VALUE=""" & lTitle & """
> MAXLENGTH=""200""></TD></TR>" &
> Chr(13)
> Can any one say what is the jsp equivalent for Server.HTMLEncode...?
> Thanks in advance..
> Muthu
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> 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
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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