Shashank Phadke wrote:

> >Is it possible to bundle everything up into a jar file or similar?
>
> The static HTML pages and images need to go into the webserver' doc root
> (and hierarchy under that). They are loaded by the webserver.
>
> However your servlet and support JAVA classes can very well be packaged into
> a JAR and put in the CLASSPATH of the webserver / servlet engine' JVM. Its
> afterall the JVM classloader looking for your classes - servlets or
> otherwise !
>
> Shashank
>

Beyond the current support that Shashank has described, servlet engines that
support the version 2.2 servlet API (currently in public review) will support
the concept of a "web application" that is packaged in a JAR file, along with
its configuration information, static files, class files, and any other
resources it needs.  Once 2.2 support is widespread, it will be vastly simpler
to deploy a servlet-based application.

Craig McClanahan

___________________________________________________________________________
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

Reply via email to