Re: Including JSP page from a jar file that placed on /WEB-INF/lib

2012-07-26 Thread Omar Ngarigari
Yes, my jar file contains just plain common JSP files (file.jsp) Sent from my iPhone On Jul 25, 2012, at 11:43 PM, Shrinivas Parashar shrinivas_paras...@symantec.com wrote: Hi, Does your jar contains JSP or precompiled JSP (.class of Servlet) Regards, Shrinivas -Original

RE: Including JSP page from a jar file that placed on /WEB-INF/lib

2012-07-26 Thread Shrinivas Parashar
Hi, Does your jar contains JSP or precompiled JSP (.class of Servlet) Regards, Shrinivas -Original Message- From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On Behalf Of Paul Benedict Sent: 26 July 2012 01:26 To: Struts Users Mailing List; Omar Ngarigari Subject:

Including JSP page from a jar file that placed on /WEB-INF/lib

2012-07-25 Thread Omar Ngarigari
Hello, I would like know how to include a JSP page that was bundled in the jar file (WEB-INF/lib) using struts2. I used s:include tag, but I got the error (Exception thrown during invlude of /common/header.jsp  1 - web/common/header is in the jar file under WEB-INF/lib 2  - in the mypages.jsp,

Re: Including JSP page from a jar file that placed on /WEB-INF/lib

2012-07-25 Thread Chris Pratt
Standard JSP doesn't allow for compiling directly from a jar file. There are three options (that I'm aware of): 1. Freemarker 2. Velocity 3. Java JSP Template Engine Switching to Freemarker or Velocity can have other advantages (in speed mainly), but it requires you to re-code your

Re: Including JSP page from a jar file that placed on /WEB-INF/lib

2012-07-25 Thread Paul Benedict
Omar, JSP does not support reading from bundled libraries. You must extract your content into your web application. Paul On Wed, Jul 25, 2012 at 2:23 PM, Omar Ngarigari ngarigar...@yahoo.com wrote: Hello, I would like know how to include a JSP page that was bundled in the jar file