This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how taglibs are handled by compiler?

 
Neelima Paramsetty
Greenhorn
Posts: 16
  • 0
  • 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
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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