Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Problem passing cent symbol fro jsp to servlet  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am working on three standalone tomcat servers --
First on win2000 , the version of tomact is /4.1.18. I am trying to pass cent ( � ) alt+0162 from jsp to servlet but it doesnot pass the cent symbol , it pass some weired symbol which is �. Same application on sun solris , the version of tomact is /4.0.4.,it passes ? instead of cent symbol. Same application on Linux , the version of tomact is /4.0.4.it passes the cent symbol correctly. IS THERE ANY REASON WHY IT IS NOT PASSING THE EXACT RESULT IN THE FIRST AnD SECOND CASE.
Servlet is -- String sProm = req.getParameter("PromotionText");
JSP is --- Promotion Text: <TEXTAREA NAME="PromotionText" ROWS="2" COLS="30" WRAP="VIRTUAL"></TEXTAREA>
 
Sheriff
Posts: 9087
12
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please answer in this thread.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!