tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fred" <machon.frede...@wanadoo.fr>
Subject Re: kept getting HTTP Status 404 - please help. thanx.
Date Sun, 02 Feb 2003 10:37:48 GMT
Normally,
Admin and no password
Fred
----- Original Message ----- 
From: "John Qin" <qinking126@yahoo.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Sunday, February 02, 2003 7:10 AM
Subject: Re: kept getting HTTP Status 404 - please help. thanx.


> hi Jacob Kjome .thanx for ur help.
> 
> I got it work, thanx for ur help.
> 
> by the way, do u kno how to get into tomcat
> administration section. Whats the default ID and
> password for that.
> 
> Thank you.
> 
>                                          John Qin.
> 
> --- Jacob Kjome <hoju@visi.com> wrote:
> > 
> > Are you accessing it like this?....
> > 
> > http://localhost:8080/servlet/MyServlet
> > 
> > If so, note that the "/servlet/*" mapping is for the
> > invoker servlet which 
> > is commented out (by default) in Tomcat
> > conf/web.xml.  Uncomment the 
> > mapping for the invoker servlet and you will be able
> > to access your servlet.
> > 
> > BTW, you should always put your servlet in an actual
> > package if you haven't 
> > already.  Something like com.mycompany.MyServlet
> > instead of placing your 
> > classes in the root of WEB-INF/classes which is the
> > default package.  You 
> > can't import the default package.
> > 
> > Jake
> > 
> > 
> > At 09:07 PM 2/1/2003 -0800, you wrote:
> > >Ijust installed tomcat 4.1.18 today.
> > >
> > >everything seems fine. i can see this page
> > >http://localhost:8080/index.jsp. and i run those
> > >Servlet Examples,  it showed up, everyting is good.
> > >
> > >then i wrote a servlet page myself, and try to run
> > it.
> > >it told me cannot find it, I got  http status 404
> > >error.  I am sure my coding is rite. cuz I download
> > >htem directly from web site.
> > >
> > >after i compile the .java file, I put it .class
> > file
> > >into WEB-INF/classes folder. I followed hte
> > >instruction step by step.
> > >
> > >I check thousands time, still have no clue whts
> > wrong.
> > >if u have any ideas please help me out.
> > >
> > >thanx.
> > >
> > >                                john.
> > >
> > >__________________________________________________
> > >Do you Yahoo!?
> > >Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > >http://mailplus.yahoo.com
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message