This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes how taglibs are handled by compiler? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "how taglibs are handled by compiler?" Watch "how taglibs are handled by compiler?" New topic

how taglibs are handled by compiler?

Neelima Paramsetty

Joined: Jun 17, 2003
Posts: 16
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,
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

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.
[ July 21, 2003: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: how taglibs are handled by compiler?
It's not a secret anymore!