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)

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

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

RE: precompile jsp

2003-12-15 Thread Edson Alves Pereira
PROTECTED] Responder:Tomcat Users List Enviada: domingo, 14 de dezembro de 2003 14:03 Para: [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

Re: precompile jsp

2003-12-15 Thread Hans Steinraht
: [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: ant -Dtomcat.home=/opt/jakarta-tomcat-4.1.24

RE: precompile jsp

2003-12-15 Thread Edson Alves Pereira
: 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 org.apache.jsp. Thats why I like to use tomcats jspc task (org.apache.jasper.JspC), to avoid

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

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.

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 variable-section. In my case, commenting out the following section from my TLD made jasper run without any errors: variable name-from-attributevar/name-from-attribute

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

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 http://www.mail-archive.com/[EMAIL

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

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

precompile jsp

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

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 implementation of

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 be around for a

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 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 part of the build process when making

AW: Precompile JSP

2001-11-19 Thread Ralph Einfeldt
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 Precompile all the jsp files in your project

RE: Precompile JSP

2001-11-19 Thread pero
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 that does what ever you want after the JSP servlet is started. Through the forward you force the startup of the JSP

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-startups!

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.

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 thought it was such a good idea... me too :) Could we

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 want.

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 before I roll out for production

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

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:25 PM Subject: Precompile JSP Hi all, Do

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 Subject: Precompile JSP Hi all, Do anyone

Re: Precompile JSP

2001-11-15 Thread Lars Nielsen Lind
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 [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; KL OOI [EMAIL

Re: Precompile JSP

2001-11-15 Thread Tom Drake
[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 deploy it and see if it | works. I spend quite a lot of time changing stuff, deploying, loading

RE: Precompile JSP

2001-11-15 Thread pero
(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 bin/jspc.bat or jspc.sh I would like to compile my

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 just

RE: Precompile JSP

2001-11-15 Thread pero
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 automatically precompile ur JSPs on startup. It takes a bit longer to start up

Re: Precompile JSP

2001-11-15 Thread Tom Drake
] 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 compile the jsps itselft again (at least this is my experience). I

RE: Precompile JSP

2001-11-15 Thread pero
: 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.xml, however. - Original Message - From: pero [EMAIL PROTECTED] To: Tomcat Users List

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's

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 so

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

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 The first time you use the page with the web server the page

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

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 sure this has been ask before but can some one

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: 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 communication is

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 startup?

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 users

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

2001-01-23 Thread Hobson, Don
]] 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 machine. I want to compile them

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 the

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 A HREF="http://www.aswethink.com"Software As We Think/A A HREF="mailto:[EMAIL

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

2001-01-22 Thread Hobson, Don
, 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 way to do this is write

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

2001-01-22 Thread Ciot, Thierry
ubject: 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 machine. I want to compile them, package the .class files and ship my application. Has anyone tried this with s

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 I

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: FORM action="login.jsp" method="post" but I only have the precompiled

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 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 that if I precompile JSP with jspc

RE: precompile jsp

2000-12-14 Thread G.Nagarajan
. -Original 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

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 the

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

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