Would you mind posting Bob's reply to your question?
Aloha,
Brooke
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jj Fu
Sent: Tuesday, November 07, 2000 7:52 AM
To: [EMAIL PROTECTED]
Subject: Re: request.getParameter("Name") with special chars
Thanks to an email from Bob Schmertz, I have resolved the issue.
Special chars actually are passed to the server from browser and fetched by
request.getParameter(). When I write back to the browser, html omited them.
After I used <pre> tag, I see them.
JJ Fu
>>> Jj Fu <[EMAIL PROTECTED]> 11/06/00 03:02PM >>>
request.getParameter("Name") is the way to fetch the form input. When the
input is a <textarea />, the user may type multple lines of input. It seems
like request.getParameter() will NOT fetch the new line char. It also will
NOT fetch special chars, like tab, space (in there is more than one), and
new line chars. So, a multi-paragraph text will become a clustered string
after go through request.getParameter(). Is there way to get around of this
to preverve the original format from a <textarea> ? Thanks for any comments.
JJ Fu
SUN Certified Java Programmer.
===========================================================================
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
===========================================================================
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
===========================================================================
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