tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anunay ashish" <anun...@tis.co.in>
Subject Unable to open the servlet.
Date Mon, 06 Oct 2003 09:04:37 GMT
Hi,
My servlet is placed at:
C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
with the name addDataServlet

 My web.xml is as follows:
 <web-app>
  <servlet>
      <servlet-name>
       addDataServlet
      </servlet-name>
      <servlet-class>
       com.scheduler.addDataServlet
      </servlet-class>
     </servlet>
  <welcome-file-list>
         <welcome-file>pageFormat.jsp</welcome-file>
     </welcome-file-list>
 <web-app>

 I am calling it from my JSP page as:
 <form action="servlet/com/scheduler/addDataServlet" method="Post">
    <input type="text" name="newPageFormat">
    <input type="Submit" name="submitButton" value="Submit">
   </form>

 But on clicking the submit button it takes me to:
 HTTP Status 404 - /com/scheduler/addDataServlet

 ---------------------------------------------------------------------------
-

 type Status report

 message /com/scheduler/addDataServlet

 description The requested resource (/com/scheduler/addDataServlet) is not
 available.


 ---------------------------------------------------------------------------
-

 Apache Tomcat/4.1.27

The text in the file localhost_log.2003-10-06.txt in logs folder
corresponding to the above error message is:
2003-10-06 12:36:19 WebappLoader[/Tracking_system]: Deploy class files
/WEB-INF/classes to C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes
2003-10-06 12:36:19 StandardManager[/Tracking_system]: Seeding random number
generator class java.security.SecureRandom

Please suggest me the remedy for this.
Regards,
Anunay Ashish.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message