tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seth Brahler <sp...@cornell.edu>
Subject JSP Form Problem
Date Fri, 04 Oct 2002 17:54:18 GMT
I know this is a Tomcat list, but my back is against the wall and I'm 
hoping someone can help.

I just discovered that my form breaks if the user types in an apostrophe.

On the process page, i am setting the passed variable to a string. 
"filelocation" is the name of my text field:

String filelocation = request.getParameter("filelocation");

How can I stop this from happening? There may be times when the user has to 
use the apostrophe symbol (obviously).

Thank you.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message