# tomcat-users mailing list archives

##### Site index · List index
Message view
Top
From micael <caraun...@harbornet.com>
Subject Re: HTTP Status 404
Date Tue, 01 Oct 2002 07:00:58 GMT
```The initial file that worked for you was in the ROOT application.  Do you
file hello.jsp into the webapps directory, you are just beginning, I take
it?  You need to get a book on Tomcat, read some on Servlets, maybe,
etc.  Give me a better idea of where you are so I can direct you to a
correct resource.  If you want to see your file, drop it into ROOT, then
try http://localhost:8080/hello.jsp.  Or, drop it into examples, and then
try http://localhost:8080/examples/hello.jsp.  Take a look at the url you
get when you go to examples from index.html after you get
http://localhost:8080/index.html.

I see the problem you are having.  Just don't know yet what your best thing
to do to start learning this is.

At 02:48 PM 10/1/2002 +0800, you wrote:
>mic, i entered http://localhost:8080/hello.jsp in the browser's address
>bar. and i tried typing http://localhost:8080\hello.jsp and still it
>won't work.
>
>
>
>
>
>micael wrote:
> >
> > Your original post said you had [...]8080\etc. in the browser, if so, the \
> > should be /.  Or, was that just a typo?
> >
> > At 02:17 PM 10/1/2002 +0800, you wrote:
> > >thanks for the reply
> > >
> > >i put the jsp page in this location:
> > >
> > >C:\Program files\Apache Tomcat 4.0\webapps\hello.jsp
> > >
> > >i've tried requesting http://localhost:8080/ and i got it correctly but
> > >when trying to request that hello.jsp page the error awhile ago is
> > >displayed.
> > >
> > >
> > >
> > >
> > >
> > >micael wrote:
> > > >
> > > > Where is the jsp page in your file structure?
> > > >
> > > > At 01:30 PM 10/1/2002 +0800, you wrote:
> > > > >Hello!
> > > > >
> > > > >I have this file "hello.jsp" located in the ..\webapps\hello.jsp.

> When I
> > > > >tried running in my browser like http://localhost:8080/hello.jsp,
the
> > > > >following are displayed in the screen.
> > > > >
> > > > >
> > > > >Apache Tomcat/4.0.5 - HTTP Status 404 - /hello.jsp
> > > > >
> > > > >-------------------------------------------------------------------

> ----
> > > ---------
> > > > >
> > > > >type Status report
> > > > >
> > > > >message /hello.jsp
> > > > >
> > > > >description The requested resource (/hello.jsp) is not available.
> > > > >
> > > > >
> > > > >
> > > > >why is this so? is there some configuration other than bypassing the
> > > > >proxies set in LAN setting of my browser?...i need your help on this.
> > > > >
> > > > >
> > > > >r/gli
> > > > >--
> > > > >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>
> >
> > --
> > 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>