• Post Reply Bookmark Topic Watch Topic
  • New Topic

Escaping special characters

 
Vishal Pai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have som text boxes which are validated on the server-side.
When i enter double quotes in the text box the
page shows validation error, but now the
text after the quotes does not appear and if it is followed by ">" it closes the tag.
What is the simplest way of encoding special characters
 
George Joseph
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vishal,
I had similar query which i had posted in one of the earlier forums. You can access that forum and to get the appropriate code and methods required.
How to display plain text in jsp without using pre, xmp, or code

George Joseph
Transversal E Networks
TechnoPark, Kerala, India.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vicky"-
Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy.
You can change it here.
Thanks! and again welcome to the JavaRanch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!