This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes avoid special character in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "avoid special character in jsp" Watch "avoid special character in jsp" New topic
Author

avoid special character in jsp

umesh nagtilak
Greenhorn

Joined: Oct 06, 2006
Posts: 4
how to avoid data to be displayed as a special character in jsp
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

You'll need to be more specific.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
umesh nagtilak
Greenhorn

Joined: Oct 06, 2006
Posts: 4
i am facing a problem for
"how to avoid database data to be displayed as a special character in jsp".
i am working on a japanese project and some part of data comes in ⓨ kind of thing from DB so it is displaying it in special character. and i want to avoid the data to be displayed in such a special case form.

e.g. item code - NCM12ⓨ in DB
bt on jsp it is displaying like NCM12��

can anyone help me for the same.
umesh nagtilak
Greenhorn

Joined: Oct 06, 2006
Posts: 4
After posting my query here also its displaying in the same fashion which i want to avoid.
My DB data is like NMC12 & # 9448 (there is no space in data but to display actual data i am giving space),
but in jsp it is displaying NMC12ⓨ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: avoid special character in jsp