Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how taglibs are handled by compiler?  RSS feed

 
Neelima Paramsetty
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
If i used a taglib in my JSP page ,how the javacompiler(After jsp is converted to JAVA.class file)internally handles that?
Thanks in advance,
Neelima
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tags are turned into simple Java statements which activate the tag handler's methods as appropriate during the translation stage (where the JSP gets turned into a Java servlet).
The compliler then compiles the Java code into a class file like any other Java source file.
You should take a look at the Java source files that are generated from your JSP pages by your container. Very informative.
hth,
bear
[ July 21, 2003: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!