I run servlets from a jar file using the JRun engine.
1. You can not just specify the directory for a jar file, you must specify the jar file
* For statically loaded servlets... in the classpath string
* For dynamically loaded servlets... in the path list for this
(actually I've not tested this)
2. When creating the jar file you can not use compression. Compression is reserved for
applets.
kev
-----Original Message-----
From: Ramani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 February 2000 12:09
To: [EMAIL PROTECTED]
Subject: Servlets from a jar file
Hi,
I am using jrun for my servlets. I want to package all my servlets into
a jar file, and add the pathname for the jar file in the servlets
directory. I tried this, but jrun is throwing up an Internal Server
Error stating it is unable to load the servlet.
My question is, can we bundle the servlets in a jar file ? If so, can
you tell what more I may have to do to execute the servlets ?
Thanks and regards,
Ramani.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
EOM
NOTICE - This message contains information intended only for the use of the addressee
named above. It may also be confidential and/or privileged. If you are not the
intended recipient of this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it. If you have received this
message in error please notify [EMAIL PROTECTED]
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html