yes ... ur bean can be in a jar. U would require a MFT (manifest template)
that would have to have an entry

Java-Bean: True

make sure the jar is a part of the classpath and then simply use it as :

<%@page import="mybeans.TheJarBean" %>

and then use it like a normal bean -

<jsp:useBean id=mybean class="TheJarBean.class" />

and so on ..


Mayuresh



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Tom Simpson
Sent: Monday, March 26, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: Jsp and JArs


Hi all

Can you tell me if you can have Beans in a jar file
for

the JSP  to use.

If so could you lead me on where to look or give me
example?

Thanks in advance

new to JSP


=====
Thomas Simpson
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to