F
francan
In my Tomcat 6.0.20 container, I have a form value that works great
except if the user enters quotes in the form input. Anything in quotes
wont show up.
For example if they enter: Here is the "info"
The form value would only show: Here is the
Input example that wont work with quotes:
<input type="text" name="city" value="${dataBean.city}" />
If I use tick instead of quotes it works and shows anything in quotes:
<input type="text" name="city" value='${dataBean.city}' />
Please advise why this is happening and if there is an alternate
solution to this issue?
except if the user enters quotes in the form input. Anything in quotes
wont show up.
For example if they enter: Here is the "info"
The form value would only show: Here is the
Input example that wont work with quotes:
<input type="text" name="city" value="${dataBean.city}" />
If I use tick instead of quotes it works and shows anything in quotes:
<input type="text" name="city" value='${dataBean.city}' />
Please advise why this is happening and if there is an alternate
solution to this issue?