Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we use scriptlet in custom tag body?

 
koteswararao arvapalli
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i think we should not use scriptlet in simpletag body. is it correct? is the same rule applicable for custom tag also?

please let me know ASAP.

Thanks & Regards,
KOTI.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think we should not use scriptlet in simpletag body. is it correct?

Yes, that's correct.

is the same rule applicable for custom tag also?

Do you mean classic tags ? You can use scriptlet in a classic tag, by setting the body-content to JSP.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!