This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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: 19905

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
I agree. Here's the link:
subject: umlat character problem in jsp