This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes umlat character problem in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "umlat character problem in jsp " Watch "umlat character problem in jsp " New topic

umlat character problem in jsp

praveen kumar gowda

Joined: Feb 20, 2012
Posts: 23
Hi All,

i am trying to dispaly the data from the database in the jsp..i am using struts 2 framework..problem is i am not able to encode the umlat character(german character)

I have set the character encoding as UTF-8

but the data containing umalt character are displaying in jsp where iu used display tag to dispaly the data..

but the umlat charactert are are not displaying properly in the page where i desing using

for example


but it is working in <dispaly:table>....<display:/table>
Rob Spoor

Joined: Oct 27, 2005
Posts: 20046

First of all, it's umlaut, with an extra u. Secondly, you probably need to HTML encode it; try &uuml; instead; that displays as ü. The display tag probably does this encoding for you.

How To Ask Questions How To Answer Questions
It is sorta covered in the JavaRanch Style Guide.
subject: umlat character problem in jsp
It's not a secret anymore!