File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display of Latin Characters

 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to display the latin characters in a window which were passed by another page using dynamic form as below.

File Name: Test1.jsp



File Name :Test2.jsp



My Requirement is like above. I am sending two values (one contains latin characters and other contain normal english characters . ) using dynamic form and submitting it dynamically. But in the second page it is not getting displayed.

I tried the charsets UTF-8 and ISO-8859-1 also by inserting the meta tag in dynamic form.

Please provide me the solution asap
issue.JPG
Second Page
[Thumbnail for issue.JPG]
 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Issue is solved.

File Name :Test2.jsp


In the second page, the default character encoding for request parameter is null. So we need to set the encoding before retrieving the values. using the function "request.setCharacterEncoding("UTF-8")" .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic