You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by anunay ashish <an...@tis.co.in> on 2003/10/10 11:30:32 UTC
Servlet and Beans.
If my bean and servlet are as package com.scheduler, then can I use make an
object of the bean class in the servlet?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Servlet and Beans.
Posted by anunay ashish <an...@tis.co.in>.
I am trying to use the bean class in the servlet but at the line in my code
in servlet where I am creating the object for bean class, on compiling the
java file it throws me errrors of "Cannot compile the java file."
----- Original Message -----
From: "Kwok Peng Tuck" <pe...@makmal.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, October 10, 2003 3:04 PM
Subject: Re: Servlet and Beans.
> Yes, as long as you import the classes and make them available in your
> webapp.
>
> anunay ashish wrote:
>
> >If my bean and servlet are as package com.scheduler, then can I use make
an
> >object of the bean class in the servlet?
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Servlet and Beans.
Posted by Kwok Peng Tuck <pe...@makmal.net>.
Yes, as long as you import the classes and make them available in your
webapp.
anunay ashish wrote:
>If my bean and servlet are as package com.scheduler, then can I use make an
>object of the bean class in the servlet?
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org