tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micael <caraun...@harbornet.com>
Subject Re: HTTP Status 404
Date Tue, 01 Oct 2002 07:24:07 GMT
The xml files are used to configure the aspects you will use in tomcat, 
like initializing servlets, mapping urls to a controller servlet, security, 
etc.  The server.xml is to configure the relations between various parts of 
the code running under tomcat, such as applications, databases, etc.  They 
are essential knowledge.  You can run some simple stuff without too much 
knowledge by sticking with ROOT, but you cannot go far without a lot more 
learning.

At 03:16 PM 10/1/2002 +0800, you wrote:
>ohh i see...actually mic, i've tried scanning web.xml seen those codes
>in it. i just realize that web.xml must go together with the .jsp file i
>am running...
>
>by the way, i'm from the philippines and you are from?
>
>
>r/glinn
>
>
>micael wrote:
> >
> > Try it with existing applications, like ROOT and samples.  You need to
> > realize that applications have to be properly set up with web.xml and
> > server.xml configurations, etc.  I would guess you have not done that.
> >
> > At 02:59 PM 10/1/2002 +0800, you wrote:
> > >yes mic, i've tried that also like
> > >http://localhost:8080/java_samples/hello.jsp and still it won't work...
> > >
> > >
> > >r/gli
> > >
> > >
> > >
> > >
> > >micael wrote:
> > > >
> > > > Well, you were right the first time.  Do you have hello.jsp in an
> > > > application?  If so, then you have to type in:
> > > >
> > > > http://localhost:8080/myapp/hello.jsp
> > > >
> > > > if the hello.jsp is in the folder myapp.
> > > >
> > > > 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>
> > > > >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>
>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>


Mime
View raw message