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:usebean not working  RSS feed

 
Charmy Madhvani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I am trying to implement the example on the 8th Chp pg 344.

If I given my jsp as




its working fine...But if I change my code to





it is giving me error as

org.apache.jasper.JasperException: /tryout.jsp(15,3) According to TLD, tag jsp:getProperty must be empty, but is not..

Please help me...I am stuck at the start only..
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your jsp:getProperty needs a slash character to close out the tag.
 
Charmy Madhvani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks.got it..
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!