tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Capr1ce <capr...@capr1ce.co.uk>
Subject Re: Bean on Tomcat
Date Wed, 14 Aug 2002 14:21:56 GMT

Theres not any configuration needed.

Ok, so say you put your bean in WEB-INF/classes/beans
and your bean is called FooBean.java
You would use it like this within your JSP:

<jsp:useBean id="foo" scope="page" class="beans.FooBean" />

<jsp:getProperty name="foo" property="aProperty" />

Is that what you're after?




At 09:14 AM 14/08/2002 -0500, you wrote:
>I'm using java beans in Tomcat (not EJB), and I just put them in
>WEB-INF/classes...
>
>regards
>Alex
>
>
>
>
>
>
>
>Cédric Viaud <cedric.viaud@matrasi-tls.fr>
>14/08/2002 07:59 a.m.
>Please respond to Tomcat Users List
>
>
>         To:     Tomcat Users List <tomcat-user@jakarta.apache.org>
>         cc:
>         Subject:        Re: Bean on Tomcat
>
>
>
>Hi,
>
>may you precise what your aiming at ?
>
>If you want tu use EJBs, Tomcat is not en EJB container. You then should
>find one (JBoss is free).
>
>Regards,
>
>    Cédric
>
>----- Original Message -----
>From: "Vishal Mukherjee" <VMukherjee@indorama.co.in>
>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>Sent: Wednesday, August 14, 2002 10:51 AM
>Subject: Bean on Tomcat
>
>
> > Hi all
> >
> > Can anyone tell me how to configure beans om Tomcat 4.0.4
> >
> > Thanks & Regards
> > Vishal Mukherjee
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
><mailto:tomcat-user-help@jakarta.apache.org>
> >
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message