This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Display of Latin Characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Display of Latin Characters" Watch "Display of Latin Characters" New topic
Author

Display of Latin Characters

Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

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



[Thumbnail for issue.JPG]

Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

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.
 
subject: Display of Latin Characters
 
Similar Threads
Session in JSP
Retaining drop down values on page submit
Question on BUTTON name/value pairs sent from JSP
Scripting Invalid
Stateful & Stateless sessions