Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP TagLib and Servlets or Beans??

 
santosh vashist
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all
I want to know The difference between the Jsp Tag Lib and the servlets or Beans.can some body answer this please.

thanks in advance
santosh
 
Anoop Krishnan
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai santosh,
I hope you know what is a Servlet & Java Bean.
As you know Servlets are java programmes which will be executed with in the scope of a WebServer.Java Beans are reusable java code
Now A JSP Tag lib are a combination of java programmes, with an XML file but are programmes that used to create a customized JSP tag which can be used in any jsp pages.These programmes get executed when ever the custom tags used in the jsp pages.These programmes can not be used in other stand alone java applications .So usually java programmes in a tag library will some java bean componenets which can be used any java application
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic