Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp bean doubt

 
Thamarai kannan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my jsp code
input.jsp

beanExample.jsp




In this beanExample if i use request.getParameter() directly in bean tag is not excepting showing following error
org.apache.jasper.JasperException: /beanExample.jsp(5,54) Attribute value request.getParameter("nam") is quoted with " which must be escaped when used within the value

can anyone give suggestion for this.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2275
81
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thamarai,
Try the following:

Regards,
Frits
 
Thamarai kannan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks frits
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic