• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How tags in jsp are used to convert jsp to servlets?

 
sagar vedantam
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I am very eager to know how a jsp page is converted to servlet by the jspengine?
To be more specific where are the JSP tags stored and how does the engine recognise the tags?Is there any tag library?
How are tags used to develop servlets from JSP?
Thanking You,
Sagar
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a JSP "engine" that translates the jsp page into the Java source code for a servlet - then this code is compiled and loaded as a servlet. The exact tags and usages are laid out in great detail in the JSP API - you can download it from java.sun.com

The website www.orionserver.com has a nice taglib tutorial if you want to learn about custom tags.
Bill

------------------
author of:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic