i tried droping the file under ..\examples and it works but putting it in the root like http://localhost:8080/hello.jsp won't work...
i'm a new user of tomcat. is web.xml matters a lot?... micael wrote: > > The initial file that worked for you was in the ROOT application. Do you > have access to books on Tomcat? What is your situation? If you put the > 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:[EMAIL PROTECTED]> > > > > > >For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > > > > To unsubscribe, > > > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > >-- > > > >To unsubscribe, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > >For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > To unsubscribe, > > e-mail: <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
