• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Display of Latin Characters

 
Ranch Hand
Posts: 59
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
[Thumbnail for issue.JPG]
Second Page
 
Ravi Majety
Ranch Hand
Posts: 59
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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")" .
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic