webtier@glassfish.java.net

Re: WebPages (xhtml or jsp files) on Jar

From: <webtier_at_javadesktop.org>
Date: Thu, 14 Aug 2008 18:07:57 PDT

No, you can't bundle your JSP files inside a JAR file, and in turn bundle this JAR file inside your WAR file (if that is what you were trying to do).

JSP files and static resources must be made available at the root level directory (or a subdirectory) of your WAR file.
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=293462