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

� problem with jstl

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
What a show! What atmosphere! What fun! What a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic