Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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!