Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

umlat character problem in jsp

 
praveen kumar gowda
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

<table>
<tr>
<td>


but it is working in <dispaly:table>....<display:/table>
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic