Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : J2EE : JSP : The requested resource (/star/servlet/com.stardeveloper.servlets.TestServlet) is not available Signup · Login
Author Thread
The requested resource (/star/servlet/com.stardeveloper.servlets.TestServlet) is not available
Posted in tutorial: Introduction to Java Servlets, Developing your first Java Servlet
·  Ue
User
Joined: 3 May 2003
Total Posts: 1
The requested resource (/star/servlet/com.stardeveloper.servlets.TestServlet) is not available
Posted: 3 May 2003
i put TestServlet into the folder as follows:
..webapps\star\WEB-INF\classes\com\stardeveloper\servlets


then add the following line in the server.xml in /conf:
<Context path="/star" docBase="star" debug="1" reloadable="true"/> before the "</Host></Engine></Service>"

i will be crazy due to this problem. could you please help me ?
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 547
Re: The requested resource (/star/servlet/com.stardeveloper.servlets.TestServlet) is not available
Posted: 28 Oct 2007
Ue, all I can say is to reread this updated tutorial. The solution to your problem is described in detail in this updated tutorial. You now don't need to add anything in the server.xml file. You now do need to add Servlet specific tags in the web.xml file to deploy it so that you can access it using URL like /TestServlet.

Faisal Khan.
Stardeveloper.com

Users Who Have Visited This Thread In Last 24 Hours
4 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.