The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Don't give up...

Posted by Kishori Sharan on December 10, 2000 at 12:27 PM

Yes, you can access your servlet even if it is in a jar file. You have to keep that jar file in a specific directory depending on your webserver. For Javawebserver, JSWDK and Tomcat you need to keep that jar file under lib sub-folder of the webserver. Suppose you have installed javawebserver in a folder c:\jws then there will be a subfolder c:\jws\lib . If your jar file name is si.jara then the location of jar file will be c:\jws\lib\si.jar and then you can access your servlet as usual. If you are using a webserver other than these three then plase see that webserver's documentation for placing your jar file. But, I am sure you can do that. So don't give up. Keep trying...

Thanx
Kishori



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us