Hello,
import the bean class, then use useBean tag where ever u want,then u can
access the methods and instance variables of that class with id attribute
of useBean tag ok.
by
Sreenivasulu Naidu Gali
At 04:05 PM 6/30/00 SMT, you wrote:
>hi every one i am new to this
>can any one tell me how to use bean in JSP i know the syntax
>but
>1 i dont know where to place this bean
>2 do i have to set classpath for this
>3 r there any tags for database ( like we used to have in cold fusion) or
>we have to write program for that
>
>do any one u know good book on JSP
>
>if possible please reply me the answer
>thanks in advance
>paras
>"Jaffa, Dan" <[EMAIL PROTECTED]> wrote:
>>
>>
>> You now have two session Beans. One named connection and one named
>> sqldb
>>
>> Daniel Jafa
>>
>> -----Original Message-----
>> From: Asri Ismail [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, June 29, 2000 4:41 AM
>> To: [EMAIL PROTECTED]
>> Subject: jsp:usebean tag
>>
>>
>> can we use more the once <jsp:useBean tag more than once
>> like this
>>
>> <jsp:useBean id="connection" class="asri.ConnectionBean" scope="session"/>
>> <jsp:useBean id="sqldb" class="database.SQLBean" scope="session"/>
>>
>> ===========================================================================
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> 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".
>> 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
>
>
>____________________________________________________________________
>Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>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".
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