tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Okomba <Oko...@kabage.co.ke>
Subject RE: running servlets in tomcat
Date Wed, 09 Aug 2000 04:50:22 GMT
Thanks. My server.xml has:

	<Context path="/members" docBase="/http/htdocs/members"
debug="0" reloadable="true" > </Context>

And I am running tomcat from apache. So I call 

http://myserver:myport/members/Login

This doesn't work. But if I call

http://myserver:myport/members/index.jsp

it works.

I am unable to explain this.

> -----Original Message-----
> From:	iam iam [SMTP:iam_1900@yahoo.com]
> Sent:	Monday, August 07, 2000 11:17 PM
> To:	tomcat-user@jakarta.apache.org
> Subject:	Re: running servlets in tomcat
> 
> try
> 
> your %TOMCAT_HOME%/config/server.xml should have some
> thing like this
> 
> <Context path="/members" docBase="webapps/members"
> debug="0" reloadable="true" > </Context>
> 
> 
> +Webapps
>   +members
>     +jsp (keep ur jsp here)
>     +web-inf
>       +classes (keep ur servlets here)
> 
> Invoke the servlets as
>     members/servlet/Login for Servlets
>     members/jsp/JspFileName.jsp
> 
> Ia....
> 
>      
> 
> 
> --- Joseph Okomba <Okomba@kabage.co.ke> wrote:
> > Help please.
> > 
> > I have created a context /members and I am able to
> > execute jsp files, e.g.
> > /members/index.jsp, from this context. However I am
> > unable to execute
> > servlets, e.g. /members/Login, from this context. I
> > keep getting the
> > following error:
> > 
> > 	Not Found
> > 	The requested URL /members/Login was not found on
> > this server.
> > 
> > I am using tomcat with apache on NT.
> > 
> > I will be very grateful for any assistance.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/

Mime
View raw message