Hi, I�m trying to convince my first servlet to work ;-) My weblogic 5.1 serves the following � http://ny1715:7001/mywebapp/index.html index.html has the following form � <form action="/mywebapp/servlet/GreetingServlet" method="post"> In the directory - mywebapp\WEB-INF\classes I have the class GreetingServlet.class The mywebapp\WEB-INF\web.xml contains the following � <servlet> <servlet-name>Registration</servlet-name> <servlet-class>GreetingServlet</servlet-class> </servlet> When submitting the form I get a 404 page. Any ideas? Thanks, Dan
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I have never used Weblogic, so this might not be much help - but are you sure you are using port 7001? Also, does Weblogic have some sort of default page that comes up when you go to http://localhost:<portnumber>? Try seeing if it works first.
Hai Drich! In addition to what u have given in xml file u also need to give following info,,, <servlet-mapping> <servlet-name> Servlet Name goes here </servlet-name> <url-pattern> URI u want </url-pattern> </servlet-mapping>
and then in action of form change URL to /UR applcation/URI u want . Also check whether web component for ur application is registered in config.xml file of ur server