Hello,
I have been following this thread because I also had
a similar problem. In my case the bookstore worked easily,
but another sample didn't. This one is from IBM articles
called httpTunneling.
Has anyone tested this article sample?
In both cases I downloaded the web applications in war file
and left in the Tomcat's webapps directory.
On Tomcat startup the war file is expanded into directories
and ready to serv, as instructed in the Tomcat docs.
The trouble is that one works and the other doesn't.
If I type in the browser link location:
http://localhost:8080/bookstore/
I can see the links and follow them until get to the pages/servlets.
In the case of the httpTunneling, if I type:
http://localhost:8080/httpTunnel/
I get the following message:
"TTP Status 503 - This application is not currently available
The requested service (This application is not currently available)
is not currently available. "
So, why it did work one and not for another.
If I had placed the application out of the Tomcat directory
I would have to inform the server.xml of the new directory.
But this not the case.
Even if the httpTunnel is not quite compatible to the Tomcat 4b2
what do I need to inform to any of these xml files?
thanks for any help
Carlos
Mona Temchin wrote:
>
> Hi all I'm new to servlets and relatively new to JAVA, so sorry if this
> seems like
> an elementary question. I followed the Sun Java Tutorial's instructions
> about setting up a servlet to run under JDSK 2.1. I am in a Windows '98
> environment. I successfully start the server. However, no matter what I
> do, I when I type http://localhost:8080/servlet/bookstore into the browser,
> I get the error message "The page cannot be found". I start the server from
> C:/jdk1.3/jsdk2.1 and the Duke's bookstore servlets were unzipped to
> C:/jdk1.3/jsdk2.1/webpages/Web-inf/servlets. I set up the
> servlet.properties file as instructed. By the way, the server itself is not
> the problem, because the URL http://localhost:8080
> does get me the index page which is the default. What am I doing wrong?
>
> Mona Temchin
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html