File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP TagLib and Servlets or Beans?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP TagLib and Servlets or Beans??" Watch "JSP TagLib and Servlets or Beans??" New topic

JSP TagLib and Servlets or Beans??

santosh vashist

Joined: May 14, 2001
Posts: 25
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
Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
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

I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
I agree. Here's the link:
subject: JSP TagLib and Servlets or Beans??
It's not a secret anymore!