ARGH! It was all because I thought tomcat's default port was
80!?!?! <hits self on head with keyboard>

        Thanks!

On Tue, 27 Nov 2001, Charles Hudak wrote:

> http://localhost:8080/reports/index.html
>
> -----Original Message-----
> From: Benjamin L. May [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 12:19 PM
> To: [EMAIL PROTECTED]
> Subject: beginner questions (fwd)
>
>
>
>
> ---------- Forwarded message ----------
> Date: Tue, 27 Nov 2001 15:17:40 -0500 (EST)
> From: Benjamin L. May <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: beginner questions
>
>
>       Hey guys, I am a newbie tomcat user, and I am having trouble being
> able to view anything thru tomcat at all. Let me start with what I have
> already done successfullly.
>
>       I followed the instructions in the developer manual that came with
> the tomcat distribution, and I ended up with a development folder much
> like the example one:
>
>       -reportsource
>               -build.xml
>               -web
>                       -index.html
>                       -WEB-INF
>                               -web.xml
>                       -login.html
>               -src
>                       -servlets
>                               -HandleLogin.java
>               -docs
>                       -readme.txt
>
>       The build.xml file I stole from the
> webapps\tomcat-docs\appdev\sample folder and it seems to be compiling all
> my classes and not generating any erros. After I do "ant deploy," a new
> folder is created in webapps called "reports" and this folder contains all
> my html files from the web folder above plus the web-inf folder with
> my compiled servlet.
>
>       According to the docs, I shouldn't have to add any entries in
> server.xml in order to deploy. So if, at this point, my application is
> deployed, how do I view the index.html file?
>
>       I've tried http://localhost/reports/index.html to no avail. I even
> rewrote handlelogin.java to simply redirect the user to the index page,
> and tried to do http://localhost/reports/login and
> http://localhost/login (my web.xml file in my project's web-inf maps
> HandleLogin.java to /login, almost identically to the web.xml file in
> webapps/tomcat-docs/appdev/sample/web/WEB-INF, in fact I copied it and
> changed the values).
>
>       I cannot seem to get any of my pages to load. What am I doing
> wrong!?!?! Thanks for any help anyone can provide.
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to