Sentthoor-

The only thing I can think of is that the JavaBean gives you access to the automatic 
<jsp:setProperty> and <jsp:getProperty> tags if you need them.  

Zac

>>> [EMAIL PROTECTED] 06/05/02 03:17AM >>>
Hi Guys,

I need to write a static method in a class to do a specific task. I can
simple import the class at the top and use the method in my JSP. However
I am wondering is there any difference in using a class as a JavaBean
rather than simply importing it and using it...

Senthoor

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html 
 http://java.sun.com/products/jsp/faq.html 
 http://www.esperanto.org.nz/jsp/jspfaq.jsp 
 http://www.jguru.com/faq/index.jsp 
 http://www.jspinsider.com

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to