aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "umlat character problem in jsp " Watch "umlat character problem in jsp " New topic
Author

umlat character problem in jsp

praveen kumar gowda
Greenhorn

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

<table>
<tr>
<td>


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

Joined: Oct 27, 2005
Posts: 19692
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: umlat character problem in jsp