Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.



  • Please log in to reply
1 reply to this topic

#1 Dodon


  • Members
  • 3 posts
  • Local time:06:31 PM

Posted 04 October 2006 - 03:33 AM

I have created a WAR file by the following command:
jar -cvf myServlets.war DemoServlet.class CallServlet.html

The WAR file was successfuly created & I had deployed it on the Server.
But when I try to access the servlet through the html page, the server returns an error stating "Resource Not Available"
P.S. I had set the context-root & the application name properly.

Please suggest as to how can I rectify this problem?

BC AdBot (Login to Remove)


#2 groovy2


  • Members
  • 5 posts
  • Local time:09:01 AM

Posted 04 October 2006 - 08:54 AM

What are you using for your server, and where in the server directory did you deploy the application? Is your html page in the same package as the servlet? Did you properly map the servlet path in the web.xml file?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users