• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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")" .
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic