precompile JSP - _jspx_dependants.add unchecked warning

2004-12-16 Thread Connor Barry
When I precompile my JSPs on Tomcat 5.5 with JDK 1.5 and I use the javac option -Xlint:unchecked, I get this warning for those files which include another: [javac] C:\tomcat\webapps\XXX\WEB-INF\jsprc\org\apache\jsp\admintool\edit_jsp.java:25: warning: [unchecked] unchecked call to add(E) as

Re: precompile jsp

2003-12-19 Thread Hans Steinraht
That was it, I had the same har in my classpath, removed it ant jspc is running smoothly now. Thanks for (all) the Help I got, Hans On Wed, Dec 17, 2003 at 03:51:56PM +0100, Reinhard Moosauer wrote: > Hi Hans, > > your problem is a version conflict. > ant simply uses the wrong version of org.

Re: precompile jsp

2003-12-17 Thread Reinhard Moosauer
Hi Hans, your problem is a version conflict. ant simply uses the wrong version of org.apache.jasper.JspC. I had a version of "j2ee-1.3.jar" in my classpath, which contains JspC also. I removed it and the problem was gone. regards, Reinhard Am Sonntag, 14. Dezember 2003 18:03 schrieb Hans Stei

RE: precompile jsp

2003-12-15 Thread Edson Alves Pereira
mcat Users List > Assunto: Re: precompile jsp > > > Doing it this way your using ants jspc task giving the classes a > packagename > "org.apache" > I have checked tomcats work directory and see that tomcat compiles the jsp > in a package "

Re: precompile jsp

2003-12-15 Thread Hans Steinraht
> > > > > > -- > > De: Hans Steinraht[SMTP:[EMAIL PROTECTED] > > Responder: Tomcat Users List > > Enviada:domingo, 14 de dezembro de 2003 14:03 > > Para: [EMAIL PROTECTED] > > Assunto:p

RE: precompile jsp

2003-12-15 Thread Edson Alves Pereira
EMAIL PROTECTED] > Assunto: precompile jsp > > hi all, > > just a question, I'm trying to precompile my jsp with the ant build > script from the apache site ( jasper-howto). > I don.t now what is going wrong but when I execute it with: >

precompile jsp

2003-12-14 Thread Hans Steinraht
hi all, just a question, I'm trying to precompile my jsp with the ant build script from the apache site ( jasper-howto). I don.t now what is going wrong but when I execute it with: ant -Dtomcat.home=/opt/jakarta-tomcat-4.1.24 -Dwebapp.path=/opt/jakarta-tomcat-4.1.24/webapps/myweba

Re: nullpointer when precompile jsp with tag

2003-07-01 Thread Johann Uhrmann
Hi, I have a hint on that issue: The jasper compiler crashes if the TLD contains a -section. In my case, commenting out the following section from my TLD made jasper run without any errors: var java.lang.Boolean true NESTED Variable that becomes true if the tag body is evaluated. C

Re: nullpointer when precompile jsp with tag

2003-07-01 Thread Johann Uhrmann
Hong Fan wrote: > [...] The interesting thing is that these same jsps run with no problem on tomcat, i.e. tomcat will precompile/compile them at run time and they work fine Does anyone know whats going on? How can I get Ant to do the precompile. I have encountered the very same problem here. H

nullpointer when precompile jsp with tag

2003-06-12 Thread Hong Fan
Hi I tried to precompile a jsp page which uses tags by using ant jspc task documented in tomcat 4.1.24, but it generated nullpointer exception. I believe there is similar post regarding the same problem. Does any one know the cause? Thanks http://www.mail-archive.com/[EMAIL PROTECTED]/msg91

nullpointer when precompile jsp with tag

2003-06-11 Thread Hong Fan
Hi I tried to precompile a jsp page which uses tags by using ant jspc task documented in tomcat 4.1.24, but it generated nullpointer exception. I believe there is similar post regarding the same problem. Does any one know the cause? Thanks http://www.mail-archive.com/[EMAIL PROTECTED]/msg

nullpointer when precompile jsp with tag

2003-06-11 Thread Fan, Hong
Hi I tried to precompile a jsp page which uses tags by using ant jspc task documented in tomcat 4.1.24, but it generated nullpointer exception. I believe there is similar post regarding the same problem. Does any one know the cause? Thanks

nullpointer when precompile jsp with tag

2003-06-10 Thread Fan, Hong
Hi I tried to precompile a jsp page which uses tags using ant jspc task documented in tomcat 4.1.24, but it generated nullpointer exception. I believe there is similar post regarding the same problem. Does any one know the cause? Thanks http://www.mail-archive.com/[EMAIL PROTECTED]/msg91565

precompile jsp

2002-04-05 Thread Francois Gauvin
ude file=”file.jsp”>). Can any body find a way to precompile jsp ?

RE: Precompile JSP

2001-11-19 Thread pero
CTED]] > Sent: Monday, November 19, 2001 4:59 PM > To: Tomcat Users List > Subject: AW: Precompile JSP > > > Just another version of 'How to shoot your self in the foot': > > - Make a servlet that loads on startup. > - From this servlet make a forward to a jsp &g

AW: Precompile JSP

2001-11-19 Thread Ralph Einfeldt
he jsp you can asume safely, that the JSP servlet is already running. (8} > -Ursprüngliche Nachricht- > Von: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 19. November 2001 14:54 > An: Tomcat Users List > Betreff: Re: Precompile JSP > > > >

RE: Precompile JSP

2001-11-19 Thread Randy Layman
> -Original Message- > From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 8:54 AM > To: Tomcat Users List > Subject: Re: Precompile JSP > > > > Precompile all the jsp files in your project in your > ant.xml file as

Re: Precompile JSP

2001-11-19 Thread Nikola Milutinovic
> Precompile all the jsp files in your project in your ant.xml file as > part of the build process when making your war file. Yes, yes, it can be done, but what we want is to have JSP normal and then precompiled upon context mounting. Startup servlet cannot do it, since it starts before JSP

Re: Precompile JSP

2001-11-19 Thread antony
Precompile all the jsp files in your project in your ant.xml file as part of the build process when making your war file. Nikola Milutinovic wrote: We definitely need a regular "hook" for this. > > We still need a "hook" or a definite answer "No, it cannot be done" or "No, it won't >

Re: Precompile JSP

2001-11-19 Thread Nikola Milutinovic
> > > We definitely need a regular "hook" for this. We still need a "hook" or a definite answer "No, it cannot be done" or "No, it won't be around for a while". > Precompilation is a feature of a particular container -- it's not anything > mandated by the JSP spec. Tomcat's current implem

RE: Precompile JSP

2001-11-16 Thread pero
Hi, > Precompilation is a feature of a particular container -- it's not anything > mandated by the JSP spec. Tomcat's current implementation of that is > "jspc" -- if you don't like jspc for some reason, you'll need to suggest > (or, better, contribute :-) an implementation that does what you wa

RE: Precompile JSP

2001-11-16 Thread Craig R. McClanahan
On Fri, 16 Nov 2001, pero wrote: > Date: Fri, 16 Nov 2001 10:26:07 +0100 > From: pero <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Precompile JSP > > > (sigh) and I tho

RE: Precompile JSP

2001-11-16 Thread pero
> (sigh) and I thought it was such a good idea... me too :) > Could we have a startup servlet that would wait for a JSP servlet > to start-up and then call all the pre-compilations? Or just wait > for a while? (That sucks as an idea, I know) > > We definitely need a regular "hook" for this. Ser

Re: Precompile JSP

2001-11-16 Thread Nikola Milutinovic
> > 2. Run a startup servlet, which will precompile all JSPs in your > > webapp (request them with URL "/path/file.jsp?precompile=true", I think) > > As I wrote before this is not possible, because a jsp can first be accessed > after the container is *completely* up - including all servlet-st

RE: Precompile JSP

2001-11-15 Thread pero
> 2. Run a startup servlet, which will precompile all JSPs in your > webapp (request them with URL "/path/file.jsp?precompile=true", I think) As I wrote before this is not possible, because a jsp can first be accessed after the container is *completely* up - including all servlet-startups! And s

Re: Precompile JSP

2001-11-15 Thread Nikola Milutinovic
> > Try bin/jspc.bat or jspc.sh > > I would like to compile my jsp's as a test before I deploy it and see if it > works. I spend quite a lot of time changing stuff, deploying, loading in a > web browser and seeing jsp compiliation problems. > > It would be nice to have jspc compile my jsp'

RE: Precompile JSP

2001-11-15 Thread pero
er 15, 2001 9:52 PM > To: Tomcat Users List > Subject: Re: Precompile JSP > > > Not true. You can deploy your pre-compiled jsp's in the > form of java classes. There is no need to deploy jsp source > code. You'll need to make corresponding mapping > entries in your web.xm

Re: Precompile JSP

2001-11-15 Thread Tom Drake
quot;Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 12:07 PM Subject: RE: Precompile JSP | Note: Jspc doesn't compile your jsps as the webserver would do. That means | that when you call jspc and start the server afterwards then the webserver | will comp

RE: Precompile JSP

2001-11-15 Thread pero
CTED]] > Sent: Thursday, November 15, 2001 9:14 PM > To: 'Tomcat Users List' > Subject: RE: Precompile JSP > > > Doesnt Tomcat offer anything like a precompile when starting up > the server? > In BEA WebLogic, you can edit the XML configuration files so that it will >

RE: Precompile JSP

2001-11-15 Thread Chen, Gin
page. Any Tomcat contributors out there want to help answer this one? -Tim -Original Message- From: Tom Drake [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 3:09 PM To: Tomcat Users List Subject: Re: Precompile JSP Tom: I'm not aware of any such option. I have always

RE: Precompile JSP

2001-11-15 Thread pero
is helps (or at least adds another point of view to the discussion) pero > -Original Message- > From: Tom Parker [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 8:54 PM > To: Tomcat Users List; Tom Drake > Subject: RE: Precompile JSP > > > > Try b

Re: Precompile JSP

2001-11-15 Thread Tom Drake
TED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tom Drake" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 11:54 AM Subject: RE: Precompile JSP | > Try bin/jspc.bat or jspc.sh | | I would like to compile my jsp's as a test before I depl

RE: Precompile JSP

2001-11-15 Thread Tom Parker
> Try bin/jspc.bat or jspc.sh I would like to compile my jsp's as a test before I deploy it and see if it works. I spend quite a lot of time changing stuff, deploying, loading in a web browser and seeing jsp compiliation problems. It would be nice to have jspc compile my jsp's during the deploym

Re: Precompile JSP

2001-11-15 Thread Lars Nielsen Lind
From: "KL OOI" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 8:33 AM Subject: Re: Precompile JSP > Can I compile it first? > > > - Original Message - > From: "Lars Nielsen Lind" &

Re: Precompile JSP

2001-11-15 Thread Lars Nielsen Lind
The first time you use the page with the web server the page will compile it self - if it is not already compiled. - Original Message - From: "KL OOI" <[EMAIL PROTECTED]> To: "TOMCAT-USER" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 8:25 AM

Re: Precompile JSP

2001-11-15 Thread Pritpal Dhaliwal
I like to complie JSP's by visiting them once. This way you even verify that they actually work. Pritpal Dhaliwal - Original Message - From: "KL OOI" <[EMAIL PROTECTED]> To: "TOMCAT-USER" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 11:2

Re: Precompile JSP

2001-11-15 Thread Nikola Milutinovic
Do anyone here know how to compile all the JSP pages before I roll out for production?? Every JSP, when called, is turned into a JAVA source code and compiled into a servlet, the first time it is called. You can do this manually: ${CATALINA_HOME}/bin/jasper.sh jspc then

Re: Precompile JSP

2001-11-15 Thread Tom Drake
Try bin/jspc.bat or jspc.sh - Original Message - From: "KL OOI" <[EMAIL PROTECTED]> To: "TOMCAT-USER" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 11:25 PM Subject: Precompile JSP Hi all, Do anyone here know how to compile all the JSP pages

Re: Precompile JSP

2001-11-14 Thread KL OOI
Can I compile it first? - Original Message - From: "Lars Nielsen Lind" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "KL OOI" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 3:31 PM Subject: Re: Precompile JSP

Precompile JSP

2001-11-14 Thread KL OOI
Hi all, Do anyone here know how to compile all the JSP pages before I roll out for production?? Thanks.. Regards, KL OOI

Re: Precompile JSP with Tomcat

2001-07-11 Thread Matt Goodall
Use the jspc utiltity. It's in tomcat's bin directory. Cheers, Matt - Original Message - From: James Bailey <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 12:16 PM Subject: Precompile JSP with Tomcat > Hi All, > > I'm s

Precompile JSP with Tomcat

2001-07-11 Thread James Bailey
Hi All, I'm sure this has been ask before but can some one help me. I am working on a webapp which will have many JSP page, when the server is rebooted I don't want the first visitor to each page to have to wait for them to be compiled. Is there any way round this? Many thanks James Bailey Sc

RE: Precompile JSP files on startup

2001-06-07 Thread Pernica, Jan
I did I have not found any detail. Could you be more specific? Thank you Jan On Thursday, June 07, 2001 12:13 PM, Krishna Kant T [SMTP:[EMAIL PROTECTED]] wrote: > yes it is > do check the faq > > ~krishnakant > > > "Pernica, Jan" wrote: > > > Hi > > > > Is it possible to precompile files on

Re: Precompile JSP files on startup

2001-06-07 Thread Krishna Kant T
yes it is do check the faq ~krishnakant "Pernica, Jan" wrote: > Hi > > Is it possible to precompile files on startup? > > Thank you > > Jan > > __ > Tato komunikace je urcena vyhradne pro adresata a je duverna. > This communicatio

Precompile JSP files on startup

2001-06-07 Thread Pernica, Jan
Hi Is it possible to precompile files on startup? Thank you Jan __ Tato komunikace je urcena vyhradne pro adresata a je duverna. This communication is intended solely for the addressee and is confidential.

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Ciot, Thierry
, Don [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 9:07 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: How do I precompile JSP files for final Production use? Michael, I don't want to install the JDK onto the server either. It is too big. Whe

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
> I don't want to install the JDK onto the server either. It is > too big. When > I install my app I will install Tomcat to use http as the transport > mechanism. > > Is there a way around having to install the JDK at all? The other option is to compile the jsp's somewhere else and copy over th

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Hobson, Don
ECTED]] Sent: Tuesday, January 23, 2001 7:03 AM To: '[EMAIL PROTECTED]' Subject: RE: How do I precompile JSP files for final Production use? > I don't want the files to be compiled at startup. I don't want them > to ever have to be compiled once installed on the users ma

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
> I don't want the files to be compiled at startup. I don't want them > to ever have to be compiled once installed on the users machine. > I want to compile them, package the .class files and ship my > application. > > Has anyone tried this with success? I don't want to install the JDK on > the

Re: How do I precompile JSP files for final Production use?

2001-01-22 Thread Nick Holloway
[EMAIL PROTECTED] (Ciot, Thierry) writes: > o You can't have a JSP page include a file one directory level up (that is > page.jsp using <%@include file="../xxx.jsp"%>) See my post last Friday "jspc > problem when including files (relative)" (no answer yet) I didn't see your original message, but

RE: How do I precompile JSP files for final Production use?

2001-01-22 Thread Ciot, Thierry
cat and delete all files in the work directory 5) test my app and check that no java and class files show up in the work directory Hope this helps you out. Thierry -Original Message- From: Hobson, Don [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 12:12 PM To: '[EMAIL PROTECT

RE: How do I precompile JSP files for final Production use?

2001-01-22 Thread Hobson, Don
e users machine, as I assume I will have to. Just the JVM. -Don -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 6:47 AM To: '[EMAIL PROTECTED]' Subject: RE: How do I precompile JSP files for final Production use? Another

RE: How do I precompile JSP files for final Production use?

2001-01-22 Thread Michael Wentzel
Another way to do this is write a servlet that will make a request to all jsp's in your webapp at startup. This takes care of the class name translations and such. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel ---

How do I precompile JSP files for final Production use?

2001-01-20 Thread Hobson, Don
When I ship or deploy my app, I do not intend to install the JDK on the users machine. I understand that I can precompile all of the JSP files to .class files and this will work. Can someone explain this process? If I call: but I only have the precompiled login.class file in the WEB-INF/classes

RE: precompile JSP with jspc & picking up changes in JSP source

2001-01-16 Thread Marc Saegesser
They are mutually exclusive. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 16, 2001 2:01 PM > To: [EMAIL PROTECTED] > Subject: precompile JSP with jspc & picking up changes in JSP source > > > I noticed t

precompile JSP with jspc & picking up changes in JSP source

2001-01-16 Thread William Au
I noticed that if I precompile JSP with jspc and setup servlet mapping in web.xml, changes to the original JSP file will not be picked up by Tomcat. Can I have both or are they mutually exclusive? Bill - To unsubscribe, e

Re: precompile jsp with Tomcat 3.2

2000-12-14 Thread Kief Morris
Joan Xiao typed the following on 17:01 13/12/2000 -0800 >I've been trying to use jspc to precompile the jsp pages into java classes. I've moved this to tomcat-user, since tomcat-dev is for discussing development of tomcat itself, not how to use tomcat. > Now I have problem with where to put th

RE: precompile jsp

2000-12-14 Thread G.Nagarajan
Message- From: Joan Xiao [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 1:57 AM To: [EMAIL PROTECTED] Subject: precompile jsp Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate

precompile jsp

2000-12-13 Thread Joan Xiao
Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate the java code and web.xml 2. insert the web.xml generated in step1 into my web.xml. 3. compile the java files into class files. Now I have problem with w

How to precompile jsp

2000-12-12 Thread Joan Xiao
Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate the java code and web.xml 2. insert the web.xml generated in step1 into my web.xml. 3. compile the java files into class files. Now I have problem with w