My application uses Java 1.4 and it runs on Tomcat 1.5 and WAS6.1.
We have some firm names that are stored in Oracle 11g DB in French such as QMéEC or Panamé N.A. We have a search criteria page where user is entering complete firm name like this QMéEC and same is being passed to backend procedure as String input param. When the search is happening on tomcat, the procedure is returning us correct data. Also when printed input param on Eclipse IDE consol where tomcat is running, it displayed exact string that was entered by user.
When same search is tried on WAS server, the procedure doesn't return any data. When printed the logs of that server (logs are in HTML), the input param was having a question mark in firm name like this QM?. Due to this search is not working on WAS server. We have following configurations in web.xml:
Can someone please help me in identifying this issue.
I have 2 screens in my application which are having search functionality. On both the screen, search works fine on Tomcat.
Also for one screen search is working fine on Websphere but another screen, it doesn't fetch any data.
The screen which is fetching data is passing input from JSP to Action class through ActionForm where as the screen which is not fetching data is passing input from JSP to Action class through request meaning i'm getting input text as request.getParameter("firmName") here. I tried java.net.URLDecoder.decode(aRequest.getParameter("firmName"), "UTF-8").trim(); but still it doesn't work.
Any idea, how to resolve this issue.
Cob is sand, clay and sometimes straw. This tiny ad is made of cob:
a bit of art, as a gift, that will fit in a stocking