RE: Pre-compiled JSPs?

2005-09-07 Thread Richard Burman
? Thanks for your help! Richard. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 17:01 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? There is no need to turn jspf into classes. The jspf are included by real jsp files. Those jsp files are turned

Re: Pre-compiled JSPs?

2005-09-07 Thread Tim Funk
Yes, think of jspf like .h files in c. You don't compile .h files, but .c files include .h files at compile time. -Tim Richard Burman wrote: Hi Tim, Sorry, I'm sure I'm being a bit dense but I seem to be missing something important here. Are the jspf files included (embedded) into the

RE: Pre-compiled JSPs? - Solved. Thanks!

2005-09-07 Thread Richard Burman
Right, I get it now. Thanks for all your help Tim, Darryl and Nicolas! Happy Tomcat-ing, Richard. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 12:15 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? Yes, think of jspf like .h files in c. You

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
:[EMAIL PROTECTED] Sent: 05 September 2005 12:04 To: Tomcat Users List Subject: RE: Pre-compiled JSPs? Hi, You need to insert in your web.xml the reference to the precompiled servlets. Jasper can generate a web.xml fragment when turning JSP into servlets. You can then insert the fragment into your

Re: Pre-compiled JSPs?

2005-09-06 Thread Darryl L. Miles
What you see looks like normal jasper name mangling of generated pages. You use: http://myserver:8080/RichardsApp/DoSomething.jsp I presume there is also a generated mapping entry, that you may have overlooked: servlet-mapping servlet-nameRichardsApp.DoSomething_jsp/servlet-name

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
and hopefully have new, sparkly, compiled JSPs soon! Richard. -Original Message- From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 12:33 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? What you see looks like normal jasper name mangling of generated pages. You use

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
the point in including the flag?! Yours, Confused of UK. ;o) -Original Message- From: Richard Burman [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 13:50 To: Tomcat Users List Subject: RE: Pre-compiled JSPs? Eureka! I get it now. :) Indeed, I hadn't noticed the servlet-mapping section down

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
errorOnUseBeanInvalidClassAttribute (IIRC) is a test when jsp:useBean is used without a default constructor being available. If you are using include files which were as meant as compile time include fragments, rename them (the include files) to jspf and they will be ignored by the jsp

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Sorry, I don't understand. How will my JSP compile at all if a section (fragment) is ignored and, presumably, omitted from the resulting java file? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 15:05 To: Tomcat Users List Subject: Re: Pre-compiled

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
: 06 September 2005 15:05 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? errorOnUseBeanInvalidClassAttribute (IIRC) is a test when jsp:useBean is used without a default constructor being available. If you are using include files which were as meant as compile time include fragments, rename

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
: Pre-compiled JSPs? For example: File a.jsp % String worldVar = null; % [EMAIL PROTECTED] file='b.jsp'% Hello %=worldVar% File b.jsp %worldVar = world% Notice b.jsp will not precompile. But then again - no one should be calling b.jsp since its not a jsp - its a jsp fragment. It should

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
From the jasper task all the [valid] jsp's are turned into java files and compiled into class files. Those class files need to be a jar file in WEB-INF/lib or inside WEB-INF/classes. The jasper task can also rewrite web.xml so that all the mappings from the JSP -- class file are taken care of.

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
Tim, Is there no way of turning the fragment (jspf) file into .class files or do they need to remain as JSPs? Cheers, Richard. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 16:14 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? From

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 16:14 To: Tomcat Users List Subject: Re: Pre-compiled JSPs? From the jasper task all the [valid] jsp's are turned into java files and compiled into class files. Those class files need to be a jar file

Pre-compiled JSPs?

2005-09-05 Thread Richard Burman
Hi everyone, I have a fairly elaborate problem but hope that some people out there can help with it. I am trying to take a large webapp and create pre-compiled JSPs. We already compile the java into class files, then package in JARs, then finally a WAR, but we would like to be able to package

RE: Pre-compiled JSPs?

2005-09-05 Thread Karasek-XID, Nicolas
:[EMAIL PROTECTED] Sent: lundi 5 septembre 2005 12:44 To: Tomcat Users List Subject: Pre-compiled JSPs? Hi everyone, I have a fairly elaborate problem but hope that some people out there can help with it. I am trying to take a large webapp and create pre-compiled JSPs. We already compile the java

timeout + SingleSignOn + pre-compiled JSPs

2004-12-03 Thread Paulo Alvim
minutes) timeouts when changing contexts even for authenticated users...Since we haven't modified our apps, the only suspect I could identify (so far) is our deployment schema - We've just changed our deployments from exploded files to 3 WAR files with pre-compiled jsps using the Tomcat Deployer

404 Error when accessing pre-compiled JSPs

2004-06-02 Thread Jason Palmatier
Hello everyone, I am attempting to deploy pre-compiled jsps in Tomcat 4.1.18 (I can't upgrade, I'm stuck with 4.1.18). I've searched the archive extensively and found that I am doing all the things suggested, but I still cannot seem to find any of my web pages. I'm wondering if any of my steps

Re: 404 Error when accessing pre-compiled JSPs

2004-06-02 Thread Jason Palmatier
attempting to deploy pre-compiled jsps in Tomcat 4.1.18 (I can't upgrade, I'm stuck with 4.1.18). I've searched the archive extensively and found that I am doing all the things suggested, but I still cannot seem to find any of my web pages. I'm wondering if any of my steps are wrong and I'm

Using Pre-Compiled JSPs.

2002-07-11 Thread Harish Kumar
Hi Guys, I am finding problem in deploying / configuring precompiled jsp's on tomcat. The problem is as follows, 1. I have /opt/jakarta-tomcat-3.2.2/webapps/sample/HelloWorld.jsp 2. I start tomcat /opt/jakarta-tomcat-3.2.2/bin/startup.sh 3. It compiles HelloWorld.jsp file and creates .java and

Possible to deploy pre-compiled JSPs with tomcat?

2002-05-03 Thread Dave North
Is it possible to deploy pre-compiled (ie. binary) JSPs with tomcat? We're going to potentially deploying our app to many sites that we don't have full control over where we'd like to keep the source hidden. I did some digging with other engines (specifically oracle) and found this...Just

Re: Possible to deploy pre-compiled JSPs with tomcat?

2002-05-03 Thread Tino Dai
Hm.. for this app. Could you use wget to compile the binaries and then make a war file out of the binaries? Just an idea. -Tino On Fri, 2002-05-03 at 07:07, Dave North wrote: Is it possible to deploy pre-compiled (ie. binary) JSPs with tomcat? We're going to potentially deploying our

using pre-compiled JSPs

2001-07-10 Thread Eitan Ben-Noach
Hello, I would like to know whether pre-compiled JSPs is a conventional way for deploying JSPs at the customers sites? Are there any disadvantages with this approach? Thanks, Eitan Ben-Noach

RE: using pre-compiled JSPs

2001-07-10 Thread Randy Layman
- From: Eitan Ben-Noach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 12:19 PM To: [EMAIL PROTECTED] Subject: using pre-compiled JSPs Hello, I would like to know whether pre-compiled JSPs is a conventional way for deploying JSPs at the customers sites? Are there any

RE: using pre-compiled JSPs

2001-07-10 Thread Greg Trasuk
] Subject: using pre-compiled JSPs Hello, I would like to know whether pre-compiled JSPs is a conventional way for deploying JSPs at the customers sites? Are there any disadvantages with this approach? Thanks, Eitan Ben-Noach winmail.dat

RE: using pre-compiled JSPs

2001-07-10 Thread Randy Layman
-Original Message- From: Greg Trasuk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: RE: using pre-compiled JSPs One big disadvantage is that if you have precompiled JSP's, your web application is no longer portable to different