JSPs in JAR

2007-03-21 Thread sputnik
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

Re: JSPs in JAR

2007-03-21 Thread Mikolaj Rydzewski
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,

Re: JSPs in JAR

2007-03-21 Thread sputnik
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?

Re: JSPs in JAR

2007-03-21 Thread Mikolaj Rydzewski
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 /