Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp bean doubt  RSS feed

 
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
Posts: 2921
205
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
Boost this thread!