is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\/pathToJar.jar!include.jsp\%
afaik the jasper compiler can load taglibs out of JARs, might be that there\'s
already a solution to do this with JARs?
thank you
sputnik wrote:
is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\/pathToJar.jar!include.jsp\%
afaik the jasper compiler can load taglibs out of JARs, might be that there\'s
already a solution to do this with JARs?
You can precompile JSPs before deploying,
Mikolaj Rydzewski wrote:
sputnik wrote:
is there a way to include JSP files which are located in a JAR?
i.e %@ import file=\\\/pathToJar.jar!include.jsp\\\%
afaik the jasper compiler can load taglibs out of JARs, might be that
there\\\'s already a solution to do this with JARs?
sputnik wrote:
I think this would work for standalone JSP scripts but not if just using
them as includes like
%@ import file=\checkLogin.jsp\ %
That's correct.
or
..
c:if test=\${page.header=\'true\'}\
jsp:import url=\/header.jsp\/
c/:if
This one should work, because jsp:import /