?
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
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
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
:[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
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
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
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
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
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
: 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
: 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
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.
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
.
-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
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
:[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
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
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
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
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
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
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
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
-
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
]
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
-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
26 matches
Mail list logo