Does Jetty Support WAR files?
Yes. Jetty supports WAR files and can run most features without
unpacking the WAR file.
If the WAR file contains jars or zips, these are extracted to
temporary locations.
If the WAR file contains JSPs which are compiled against
classes also in the WAR file, then compilation fails as the
java compiler cannot handle URL classpaths (eg jar:file:/my.war!/WEB-INF/classes). In this situation, the
user should unpack the war file manually before running.
Return to JettyFaq