> Depends on your servlet engine. My allows me to register a JAR file when I
> register an individual servlet (although I don't actually use this
> feature). If yours doesn't then the classpath is your only option.
>
> The servlet 2.2 API has this new feature called a .WAR file. This allow
> you to package not just classes but HTML and anything else required to run
> a servlet. They allow you to create a self contained "Web Application"
> that you simply drop into a directory and it automatically registers
> itself. None of the engines support 2.2 yet but look out for it in the
> future.
Orion currently supports the Servlet 2.2 API/specification, installing a .war does
not equal "dropping into a directory" though, there are a few more steps (server
dependent), still a no-brainder in most cases though. For instance in Orion it consists
of two steps:
1) Unpack the .war into a suitable directory (unpacking is needed due to the way the
servlet API is built, paths to documents are handled as straight file paths).
2) Add a <web-app root="/thewebdir">../path/to/web-app-dir/</web-app> node
in the site's web-site.xml file (or eventually add a default-web-app node if you want
it
to be the core app of that site).
Hope it helps :)
/Magnus Stenman, the Orion team (http://www.orionserver.com)
___________________________________________________________________________
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