• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:usebean not working

 
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..
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!