This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

umlat character problem in jsp  RSS feed

 
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
Posts: 21048
85
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
Boost this thread!