Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Taimo Peelo
Hi, i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where generation of start-tag followed by immediate end-tag would be needed/preferred. For example there are includes like: jsp:include page=includes/scripts.jsp/ where scripts.jsp

Re: Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Robert Koberg
Hi, You could do: script ...///script So the parser won't see an empty element. (and you will see your XHTML rendered in the browser) best, -Rob Taimo Peelo wrote: Hi, i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where

RE: Jsp Pre-compilation

2005-07-04 Thread Nils Liebelt
Yeboo, The pathes needed to be absolute. Thanks for the help. Sorry for the late reply. Gruss Nils mtgglf -Original Message- From: Bernhard Slominski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 3:18 PM To: 'Tomcat Users List' Subject: AW: Jsp Pre-compilation Hi Nils

Jsp Pre-compilation

2005-06-30 Thread Nils Liebelt
Hi all, I have trouble pre-compiling my jsp-pages. I wrote following ant target: target name=jspc depends=build taskdef classname=org.apache.jasper.JspC name=jasper2 classpath id=jspc.classpath fileset dir=${tomcat.home}/bin

AW: Jsp Pre-compilation

2005-06-30 Thread Bernhard Slominski
the failure of the precompliation Good luck Bernhard -Ursprüngliche Nachricht- Von: Nils Liebelt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 30. Juni 2005 15:09 An: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Betreff: Jsp Pre-compilation Hi all, I have trouble pre

tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Woodchuck
hi, when i pre-compile my jsps, i found that Tomcat only likes them when they are compiled with the package org.apache.jsp. if i change the generated *_jsp.java files (before compiling) to a different package that is anything but org.apache.jsp, Tomcat fails to load them when I try to access the

Re: tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Jason Palmatier
Hi Woodchuck, I just fought the exact same thing for two weeks and this is what I discovered: If you want to precompile all the JSPs with a package name other than org.apache.jsp you have to use the -p option and give it a new package name. This doesn't really work, as you may have already

Re: tomcat 4.1.x jsp pre-compilation

2004-06-11 Thread Woodchuck
hi Jason, thx a lot for your reply. i am, unfortunately, stuck with Tomcat 4.1.x. i don't have any problems getting jspc to generate .java files for jsps that exist in a hierarchical (sp?) tree. for instance, my jsps are scattered under my web root folder, in sub folders, etc.. my problem is

Re: war deployment and jsp pre-compilation

2003-07-11 Thread Reinhard Nägele
] To [EMAIL PROTECTED] cc Subject war deployment and jsp pre-compilation We deploy our application as war file with the manager. unpackWars is set to false. Is it possible to deploy pre-compiled JSPs with this approach? I guess this would imply that we'd have to have a context.xml in our war

Re: war deployment and jsp pre-compilation

2003-07-11 Thread Jacob Kjome
. You can find more info here: http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html Johannes Reinhard Nägele [EMAIL PROTECTED] 10.07.2003 15:38 Please respond to Tomcat Users List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject war deployment and jsp pre-compilation We deploy our

Re: war deployment and jsp pre-compilation

2003-07-11 Thread Reinhard Nägele
] cc Subject war deployment and jsp pre-compilation We deploy our application as war file with the manager. unpackWars is set to false. Is it possible to deploy pre-compiled JSPs with this approach? I guess this would imply that we'd have to have a context.xml in our war file specifying

Re: war deployment and jsp pre-compilation

2003-07-11 Thread Jacob Kjome
using the manager app. You can find more info here: http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html Johannes Reinhard Nägele [EMAIL PROTECTED] 10.07.2003 15:38 Please respond to Tomcat Users List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject war deployment and jsp pre

war deployment and jsp pre-compilation

2003-07-10 Thread Reinhard Nägele
We deploy our application as war file with the manager. unpackWars is set to false. Is it possible to deploy pre-compiled JSPs with this approach? I guess this would imply that we'd have to have a context.xml in our war file specifying that Tomcat should load the compiled JSP classes from the

Re: war deployment and jsp pre-compilation

2003-07-10 Thread Johannes Fiala
to Tomcat Users List [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject war deployment and jsp pre-compilation We deploy our application as war file with the manager. unpackWars is set to false. Is it possible to deploy pre-compiled JSPs with this approach? I guess this would imply that we'd have