This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The same servlet works fine in development environment where I use http instead of https.
I know the problem is becuase of the single quote in the user question as there is no problem
if I remove the single quote and ask a question like ' my tv does not work'.
I see that on the web site, the URL encoding is done and so %27 is passed to my servlet instead
of the single quote (').
I am trying to understand how to resolve this issue. I have done enough google and most of the places
it was advised to use URLEncoding. That is fine as we are using the same.
Now, the issue is why in https, even url encoded single quotes are not workig as part of the query string.
( I did see that the similar issue does not happen if instead of GET, POST is used.)
Joined: May 29, 2008
Please ignore the above question.It was due to a configuration in webserver which was not allowing special chracters in the query parameter.