Hello,
I'm using HTML to create a form. I use JSP to process it.
eg:
In html:
Name:
<input type="text" name="stu_name" and value="Name" size="15">
In jsp:
<% String name = rs.getParameter("stu_name"); %>
Problem:
When the user keys in any character with an apostrophe (') in the text box, there'll be an error!!! Why can't jsp process the apostrophe?
Please help!!! Thanks...
I'm using HTML to create a form. I use JSP to process it.
eg:
In html:
Name:
<input type="text" name="stu_name" and value="Name" size="15">
In jsp:
<% String name = rs.getParameter("stu_name"); %>
Problem:
When the user keys in any character with an apostrophe (') in the text box, there'll be an error!!! Why can't jsp process the apostrophe?
Please help!!! Thanks...
Comment