There is a directory called classes which gets created by default when u
install Java WebServer.You dont have to declae it in the classpath if u r
placing it in the classes directory

The other option is to put ur bean directory name in the classpath n include
it in ur JSP file by usine the JSP:INCLUDE tag

Hope this helps
Sanjay

The other
>From: Paras Sharma <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: how to use bean ?] ON Java Wweb Server]
>Date: Sat, 1 Jul 2000 11:38:53 SMT
>
>hi thanks for ur help
>which  one is class direcory  or  i have to  put that file in class path
>can we  make a directory in class path
>
>can  u  more eloborate on this
>
>Sanjay Gomes <[EMAIL PROTECTED]> wrote:
> > Put the bean in a package in the classes directory
> > and write the name of the package in the bean class
> > eg
> > bean
> >
> > package mypack
> >
> > public class myclass{
> >
> >
> >
> >
> > }
> >
> >
> > .jsp
> >
> > <form method=post action=mypack.myclass>
> > Sanjay
> > >From: Paras Sharma <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages specification and
> > >     reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: [Re: how to use bean ?]  ON Java Wweb Server
> > >Date: Fri, 30 Jun 2000 16:19:02 SMT
> > >
> > >i am  using  Java Web Server
> > >
> > >Sanjay Gomes <[EMAIL PROTECTED]> wrote:
> > > > Depends on which Web server r u using to deploy the JSP
> > > > Sanjay
> > > >
> > > >
> > > > >From: Paras Sharma <[EMAIL PROTECTED]>
> > > > >Reply-To: A mailing list about Java Server Pages specification and
> > > > >     reference <[EMAIL PROTECTED]>
> > > > >To: [EMAIL PROTECTED]
> > > > >Subject: how to use  bean ?
> > > > >Date: Fri, 30 Jun 2000 16:05:56 SMT
> > > > >
> > > > >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
> > > >
> > > >
>________________________________________________________________________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com
> > > >
> > > >
> >
> >===========================================================================
> > > > 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
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
>===========================================================================
> > 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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
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

Reply via email to