users@glassfish.java.net

Re: Packaging JSP in JAR files

From: Sahoo <Sahoo_at_Sun.COM>
Date: Mon, 15 Sep 2008 22:41:45 +0530

Please note that Servlet classes generated from JSPs are mostly
non-portable as they refer to classes from the particular appserver that
was used to compile the JSPs. So, such a war is hardly portable.

Jose Noheda wrote:
> Hi,
>
> Can I somehow precompile JSPs and pack them in a JAR file placed under
> WEB-INF in a way that glassfish understands it? What about a portable
> solution?
>
> Regards,