Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem With Hebrew in POST Request Parameter to Servlet  RSS feed

 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,
I have written a java servlet, i.e. a class that extends javax.servlet.http.HttpServlet.
The servlet is deployed to a WebSphere Application Server (WAS version 7)
I have written another java class with JDK 1.5 that sends a POST request to the servlet.
If the POST request parameters contain Hebrew, then the servlet sees the Hebrew as a string of question marks (?).
How do I get the servlet to see the Hebrew that is sent in the POST request?
And for your information, I have read the JavaWorld article entitled: Dodge the Traps Hiding in the URLConnection Class

Cheers,
Avi.
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answering my own post (as usual ;-)

Turns out that the WAS host machine does not have any Hebrew fonts installed, hence the log file shows question marks instead of Hebrew characters.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!