I think u need to change the
<FORM ACTION="servlet/GreetingServlet" METHOD="POST"> in your
index file to <FORM
ACTION="/greeting/servlet/GreetingServlet"METHOD="POST">
This may help u.
Regards,
Ashutosh
On Tue, 04 Feb 2003 Bentzy Sagiv wrote :
>I have succesfully installed jboss-3.0.4_tomcat-4.1.12 &
>apache_2.0.43.
>I create(from Java Server Programming J2EE edition - WROX) a
>simple servlet & XML file as
>following:
>
>greeting\index.html
>greeting\src\GreetingServlet.java
>greeting\WEB-INF\web.xml
>greeting\WEB-INF\classes\GreetingServlet.class
>
>I succesfully compile it: ...\greeting>jar -cf greeting.war *
>
>When I copy the war file to
>C:\jboss-3.0.4_tomcat-4.1.12\server\default\deploy I see at the
>console that everything is OK.
>
>My index.html file points to:
>
><FORM ACTION="servlet/GreetingServlet" METHOD="POST">
>
>I can see the HTML file at
>http://localhost:8080/greeting/index.html
>
>
>I try almost anything at server.xml file and finally change
>"<Context" as following:
><Context path="/greeting" docBase="greeting" debug="0"
>reloadable="true" crossContext = "true">
>
>but when I click submit I read:
>The requested resource (/greeting/servlet/GreetingServlet) is not
>available.
>
>Your help will be deeply appreciated.
>