JSP form input with double qoutes, Java cant see the qoutes
843838Jun 14 2007 — edited Jun 15 2007I am having an intermittent problem with double qoutes in a form input.
Sometimes the qoutes are recognized and they show up in the corresponding business code, sometimes they do not.
I have done this to test the issue:
I can print the input value in the JSP and the corresponding Action.
Test 1 - on screen displays "search stuff"
But Java sees search stuff (notice no qoutes)
Test 2 - on screen displays "search stuff"
But Java sees "search stuff"
If I copy the html into word, the qoutes appear differently. Indicating to me that they are of different ASCII or Encoding origin.
How could this have happened?
I cant seem to consistently make the qoutes unreadable by Java. It comes and goes.
What can I do about it?
My browser and my web server are both set to 8859-1 (Wester).
Message was edited by:
meconlin4192
Message was edited by:
meconlin4192