• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help on Tags  RSS feed

 
Kiran Chand Panga
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tag body shouldn�t contain the scriptlet. But if we but the scriptlet inside a Tag, will it throw any exception or shows any error?
 
Amit Goyal
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Classic Tag body can contain scriplet if it is declared in that way I mean if its tld has <body-content> element as JSP.

While Simple Tag body can't contain scriptlet, I think it will give error at translaction time.

Regards,

Amit Goyal
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!