tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Lee <j27...@yahoo.com>
Subject Re: problem in using <jsp:usebean...
Date Tue, 26 Feb 2002 17:04:30 GMT
I had the same problems using tomcat 4.0.2, and apache
1.3.22 on win2k.  In fact tomcat couldn't find any of
my classes.  This only occurred using mod_jk, but
eventually i got it to work.  It is strange, but
here's how i got mine to work.  If you are using
mod_jk, try commenting out the line regarding
additional classpaths in your workers.properties file.
 Restart tomcat and apache.  It still won't work at
this point.  Then uncomment the line and restart both
tomcat and apache.  I think by commenting out the line
and restarting apache and tomcat, it forces them to
reload settings?  Not sure though.  

Also make sure you have the directive JKMount
/servlet/* ajp13
in httpd.conf file.

james



--- Harry Keller <harry@paracompusa.com> wrote:
> I had problems with using beans with Tomcat 4.0. 
> Sometimes they would
> work -- sometimes not.  I never got tomcat to
> recognize two properties in
> the same bean.  Eventually, I abandoned the bean
> approach as unworkable with
> tomcat.  If anyone has a reliable solution, I'd
> really like to know about
> it.  For now, I just @include the java source in my
> JSP files.
> 
> Hopefully,
> Harry
> 
> ----- Original Message -----
> From: "arun yadav" <arun_y48@hotmail.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Tuesday, February 26, 2002 5:24 AM
> Subject: problem in using <jsp:usebean...
> 
> 
> > Hello friends,
> > Iam doing a project using jsp.Iam facing a problem
> in calling a bean from
> a
> > jsp page.Tomcat is unable to find the bean
> class.Can anybody guide me how
> to
> > do that.
> > I have put my bean class in
> /webapps/examples/jsp/Online/WEB-INF/classes
> > & the jsp file in /Online folders.
> >
> > -regards
> > ARUN
> >
> >
> >
> >
> >
>
_________________________________________________________________
> > Send and receive Hotmail on your mobile device:
> http://mobile.msn.com
> >
> >
> > --
> > To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message