Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML form data

 
maher dabbas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm sending a text from an HTML form to a JSP,
the text is written in arabic, when i access it in th JSP using request.getParameter() and print it using the out object, a garbage is printed out, and i need to change the browser encoding by myself to view the data correctly,i used <meta HTTP-EQUIV=CONTENT-TYPE CONTENT="TEXT/HTML;CHARSET=WINDOWS-1256> in the HTML document , but it did not work, i've used
<%@page contentType="text/html;charset=WINDOWS-1256" %> in the JSP , but set of ??? is printed.
Any ideas please.
Regards .
Maher Dabbas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic