• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

� problem with jstl

 
roy joseph
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello folks,

I really need help with this problem. Im stumped. I've searched the net still couldnt find a solution to this problem. I sure hope someone here can help me. I would appreciate it very much.

My problem is the character � not displaying in jsp. Something else gets displayed.

My situation is like this. We pick up a list of names from an oracle database and display them using jstl.

We are using struts and jstl by the way. We are using Jboss.

The problem is that some of names that we have in the oracle db has an � or � on them. Now there's no problem picking them up. I've checked the jboss log file and attest that the names are still intact. The � is there.

However, the resulting jsp page shows a different weird character. Looks like a diamond with a question mark that appears instead of �.

Stuff I've tried.
1. Added this on the jsp page.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

no go.

2. Added this on top of the jsp page.
<fmt:requestEncoding value="UTF-8" />

no go.


Any ideas. I have a weird feeling there's an easy solution to this I just haven't found it yet.

Please help me. This is really urgent.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic