Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Special Characters in JSP Page  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application has user interface haveing both JSPs and Applet.
The database being used in Oracle 9i.
The problem I am facing is some information in database is stored as special character. Special character is not displayed correctly in the JSP page.
The field type is VARCHAR2.
Example of special character is english dash (Unicode 2013 –).
Interestingly, the character is displayed correctly in an applet.
Originally, I did not specify any pageEncoding or content type in JSP pages. After going through some messages found on this topic, I tried different encodings such as windows-1252, UTF-8. But results are the same. Nothing worked.
Any help is greatly appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!