But as soon as I put log4j-1.2.9.jar into my WEB-INF/lib directory, it
doesn't work any more. I get the following exception:
[jasper2] java.lang.NullPointerException
[jasper2] at
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:220)
After building a vers
"Artur Brinkmann" <[EMAIL PROTECTED]>
> Received: 10/7/2005 2:27 PM
> To: ""
> Subject: JspC exception with log4j in WEB-INF/lib
>
> I'm trying to use the Jspc ant task to precompile JSP pages. It's almost
> working except for one problem. I made a min
I'm trying to use the Jspc ant task to precompile JSP pages. It's almost
working except for one problem. I made a minimal webapp, with the usual
structure, and just one empty JSP file. The task runs fine and compiles the
JSP without problems.
But as soon as I put log4j-1.2.9.jar i
On 8/16/05, Bernhard Slominski <[EMAIL PROTECTED]> wrote:
> Hi Richard,
>
> the problem is that your classpath for the jasper path is not correct.
> So this Null Pointer exception actually means that some class was not found.
> Note that you need all the tomcat libraries in your jaser classpath, a
-Ursprüngliche Nachricht-
Von: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. August 2005 23:58
An: tomcat-user@jakarta.apache.org
Betreff: JspC compile exception in tomcat-deployer 5.5.10
Hello,
I am using the jakarta-tomcat-5.5.10-deployer to deploy my
Hello,
I am using the
jakarta-tomcat-5.5.10-deployer to deploy my customized war file to tomcat. When
I have it do the "compile" target so it pre-compiles the JSP's I get
the exception below (its sort of long). I've got the source and can see
that it is happening as it processes the JSPs.
) inherits from net.sf.hibernate.Lifecycle.
-Tim
Will Hartung wrote:
Hi all!
I'm working on migrating from Tomcat 4.1.x to 5.0.x, and one of the
components is JspC.
Using the ANT Task presented in the 5.0 docs as inspiration I
Hi all!
I'm working on migrating from Tomcat 4.1.x to 5.0.x, and one of the
components is JspC.
Using the ANT Task presented in the 5.0 docs as inspiration I
classpath as I've
seen lot of people using jspc without problem.
-Original Message-
From: Karasek-XID, Nicolas
Sent: jeudi 23 juin 2005 15:43
To: Tomcat Users List
Subject: RE: Use JSPC
Ok, I tried the simple hello world jsp, with the same result.
Adding the path to my jars and/or
from command line, with the same result.
I cant figure out what I'm missing as I'm not so experimented in j2ee.
Anyway I'm still trying to make jspc work...
-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
Sent: mercredi 22 juin 2005 15:27
To:
ion.
Try to get jasper working with this file, if it's working fine, then you
know an application specfic calls is not picked up.
If the "Hello world" jsp does not work, you know it's a Tomcat/JRE class
which is missing.
Cheers
Bernhard
>
> -Original Message-
>
did a copy/paste in my build.xml of the jspc task found at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
First attempt, it still
Hi Nicolas,
what jspc basically needs, is acces to all the internal tomcat libraries,
as you see from the ant script:
${tomcat.home}/bin/*.jar
${tomcat.home}/server/lib/*.jar
${tomcat.home}/common/lib/*.jar
As well as all the libraries from you web application.
So what I did was just "insta
Hi bernhard,
Just a few dumb questions on this, I still have problem to generate servlets
source files from jsp.
>From a previous message you sent on this subject in another thread I guess I
>have a classpath problem in my jspc task ( NullPointerExcept
case you
thought you had to do it manually (well, you could
I guess) .
Charl
--- "Akoulov, Alexandre [IT]"
<[EMAIL PROTECTED]> wrote:
> Hi Mino,
>
> that is what we do:
> a) generate java files with JspC compiler
> b) compile java files with javac compiler
> c
Hi Mino,
that is what we do:
a) generate java files with JspC compiler
b) compile java files with javac compiler
c) copy class files to the required location (ie class directory under WEB-INF )
Hope it helps,
Sasha.
-Original Message-
From: Giacomino Raccuia [mailto:[EMAIL PROTECTED
Gesendet: Donnerstag, 16. Juni 2005 11:24
> An: Tomcat Users List
> Betreff: Re: Use JSPC
>
>
> If you have the generated java files, you can compile
> them like any other java class (remember to setup your
> classpath correctly, including some jars in the Tomcat
> libraries).
>
on server
> (tomcat 4.0.3) . I use the utility JSPC, but this
> generate only java
> file but not the class file. I read that JRun has
> JSPC with -compile
> argument while my JSPC utilty doesn't have thi
> argument.
> Is possible to generate class file with tomcat and
Hi,
I'd like to compile the JSP pages when I upload some new files on server
(tomcat 4.0.3) . I use the utility JSPC, but this generate only java
file but not the class file. I read that JRun has JSPC with -compile
argument while my JSPC utilty doesn't have thi argument.
Is p
On 5/29/05, Kevin Burton <[EMAIL PROTECTED]> wrote:
> So on:
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
>
> It recommends to use genStrAsCharArray when in production.
>
> This can be set in web.xml but not when
So on:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration
It recommends to use genStrAsCharArray when in production.
This can be set in web.xml but not when using JspC from the command line.
trimSpaces is there... but not genStrAsCharArray.
Its in
> -Ursprüngliche Nachricht-
> Von: Karasek-XID, Nicolas [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 19. Mai 2005 14:28
> An: tomcat-user@jakarta.apache.org
> Betreff: Unable to pre-compile JSP with jspC ant task
>
>
> Hello,
>
> I'm trying to precompile
JspBean is
invalid.
The error in the index.jsp file come from the line:
As I thought that I should give to jspC a reference to the Bean, I tried
to package the Bean in a jar file, put it in library directory and then
uncommenting the reference to the libray directory in the previous ant
file sam
'm unclear as to how it's working.
First off, the class doesn't
extend org.apache.tools.ant.Task. Anyone know how this class actually works?
Thanks,
--Bill
On 4/18/05, Bill Lynch <[EMAIL PROTECTED]> wrote:
>
> Guys,
>
> I've been using the JSPc task (org.apac
Guys,
I've been using the JSPc task (org.apache.jasper.JspC) to compile a set of
JSPs. So far so good, but I now want to exclude a few of the JSPs from being
precompiled. Unfortuntely, there's no attribute (that I know of) in the JSPc
task to do this. Am I missing something her
ppens?
Thanks for your help
Bernhard
jspc:
[jasper2] java.lang.NullPointerException
[jasper2] at
org.apache.jasper.JspCompilationContext.createCompiler(JspCom
pilationContext.java:220)
[jasper2] at org.apache.jasper.JspC.processFile(JspC.java:847)
[jasper2]
Hi,
JspC error while doing PreCompilation,
I 'am using ant 1.6.2 and tomcat 5. When I call jspc from ant it is
thworing invaid cast exception. In JspRunTimeContext class. It is getting the
current thread classloader and casting to URL classloader..
parentClassL
Hi all,
it is throwing ClassCastexception in JSPRuntimeCOntext class when
casting ANTClassLoader class to URLCLassLoader. I don't whether it is a bug. or
configuration problems.
Regards,
Jagga
-
Do you Yahoo!?
Yahoo! Search presen
Hi all,
I 'am trying to do jspPreCompilation, it is thrwing away saying.
ClassCastExcception.
Class java.util.HashMap loaded from parent loader (parentFirst)
Class java.util.Collections loaded from parent loader (parentFirst)
Class java.io.ByteArrayOutputStream loaded from parent loader (
;Vinny" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, February 02, 2005 2:13 PM
Subject: Re: jspc taglib handling different between 5.5.4 and 5.5.7
I am having the same issue. My absolute uri'd tld are not getting
resolved.
Also I am getting this error when
; if i go into the jstl taglib jar file and grab the sql.tld file and put it
> into my WEB-INF then the jspc task works.
>
> in 5.5.4 this worked without having the sql.tld file in WEB-INF (it was just
> found in the .jar file of the tag library)
>
> anybody hitting similar i
files deployed with this application
the line in the offending jsp looks like:
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql"; prefix="sql" %>
if i go into the jstl taglib jar file and grab the sql.tld file and put it into
my WEB-INF then the jspc task works.
in
You have still to specify the webXmlFragment-attribute. Without this
i'm getting a NullpointerException too.
Thanks to the help of both of you, I finally managed to get it to work.
You'll find my complete Ant target at the bottom of this post.
From the perspective of a user I'd like to provide th
On Tue, 18 Jan 2005 17:00:54 +0100, Andreas Schildbach
<[EMAIL PROTECTED]> wrote:
> Sorry, it still does not work.
You have still to specify the webXmlFragment-attribute. Without this
i'm getting a NullpointerException too.
@Tim: i found your snippet and now its works for me too :)
It's funny ho
Tim Funk wrote:
The jasper2 task edits web.xml in place. That being said, make sure your
build process creates a build directory. Copies all we resources to the
build directory (including web.xml), then compile and classes to
WEB-INF/classes (or compile and jar them), then run the jasper2 task t
On Tue, 18 Jan 2005 06:43:16 -0500, Tim Funk <[EMAIL PROTECTED]> wrote:
> My snippet does 2 things.
>
> 1) Merges the servlet names and mappings into web.xml
> 2) creates a file containing all the mappings done in 1
Hi Tim,
can you please provide this snippet, maybe direct to me?
I googled aro
My snippet does 2 things.
1) Merges the servlet names and mappings into web.xml
2) creates a file containing all the mappings done in 1
The 2 are independent from one another. But I like to see the snippet created
by the JSPC task by iteslef occasionally for when bad things happen.
The jasper2
<[EMAIL PROTECTED]> wrote:> JspC can acually edit web.xml? Where
is this documented? I can't find
> any documentation of the jasper2 task except the old outdated jspc task
> (including all the options/attributes) that is included with Ant.
Hi,
i think JSPC can not merge the w
Tim Funk wrote:
I haven't read the docs for this so I am very surprised it wasn't
there. The source for JSPC is very easy to read. Anything that is a set
method can be called via ant. With luck - I might find some time to
update the docs for this one.
Actually the semantics is mo
I haven't read the docs for this so I am very surprised it wasn't there. The
source for JSPC is very easy to read. Anything that is a set method can be
called via ant. With luck - I might find some time to update the docs for
this one.
-Tim
Andreas Schildbach wrote:
Tim Funk wrote:
Tim Funk wrote:
Odd, I do not have this problem.
Make sure you are building to a scratchpad. This means your web.xml is
copied to a new location before you precompile. Then JSPC can edit it in
place and you no not lose any of your changes.
To get around the relative pathing issue - prefix your
Odd, I do not have this problem.
Make sure you are building to a scratchpad. This means your web.xml is copied
to a new location before you precompile. Then JSPC can edit it in place and
you no not lose any of your changes.
To get around the relative pathing issue - prefix your build with
Hello everyone,
I've got a bit of a problem precompiling JSPs for Tomcat 5.0. To be
exact, the problem is the web.xml fragment that is generated by JspC
containing the servlet and servlet-mapping elements.
That fragment has to be included in the web.xml file somehow. Of course,
I don'
I am picking up a difference in the way Tomcat compiles a JSP when accessed
from a browser and the way JSPC compiles -
Tomcat produces class file with class as - public class client$jsp extends
HttpJspBase {...}
while,
Jspc produces java file with class as - public class client extends
We're using JspC to precompile our webapp to speed up application
deployment and reduce memory on the server. Right now it takes FOREVER
to compile. Currently the entire build of our app takes 30 seconds but
JspC takes 1.5 hours.! Its not like we have that many JSPs either.
So I have
Yes, Yoav, everything you wrote is correct. I have read all those
things, and the source is being created *for those files that do not
have dependencies with my other java source.*
In short, I was wondering why the older JSP Java generation in ANT
didn't need those class dependencies, but the
Hi,
I assume you're already read
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html#Web%20
Application%20Compilation? To me, that page suggests JspC just creates
java code, and then javac must be called (explicitly, by you) to compile
that code.
Moreover, the error you'
task doesn't support Tomcat 5.x properly, please use the Tomcat
provided jspc task instead"
And there was much scurrying.
The Manager defined a new task, one for Tomcat 5.x using
org.apache.jasper.JspC, for Tomcat 5 begat Jasper2. (Actually, it was
earlier, but that's neither her
Sent: 18 August 2004 11:53
> To: Tomcat Users List
> Subject: Re: Odd characters inserted in response after JSPC
>
>
> I had the same problem working with a Unicode file. I don't
> know what my
> editor was doing - I just used vi and killed the character
> and all
On Wed, 18 Aug 2004 11:32:02 +0100
(B"Allistair Crossley" <[EMAIL PROTECTED]> wrote
(B
(B> I have compiled all my JSPs with JSPC. I have found that 3 odd
(B> characters occur at the very start of most of my my responses which
(B> use a certain template JSP ...
I had the same problem working with a Unicode file. I don't know what my
editor was doing - I just used vi and killed the character and all worked well.
-Tim
Allistair Crossley wrote:
Hi Guys
I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the
very sta
OK, I just totally wiped the whole page jsp file and then ran JSPC and it generated 12
errors on a blank file complaining about unclosed string literals. Looking at the JAVA
file JSPC generated for the blank JSP you can see it is still trying to output 3 chars
but don't know why.
pa
Hi Guys
I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the
very start of most of my my responses which use a certain template JSP ...
I use 2 layouts, one for home and one for other pages. This problem is not happening
on the home page although both that
I made several measure, had a look to the generate code by Jspc.
It is clear that Taglibs reduce the performance (memory, speed) of your server.
Speed because the first time access is longer and memory because a pool system is
there to make the next pages being displayed quicker.
So, as a
Yes, it will generate the package names if you leave it off (you add
package="" to the jspc task, like you do uriroot="${src}\jsp").
I'm trying to get it to give me the **subdirectories** as the full package
name - ie user.myjsp.
I don't know what you want to achieve, but my jspc task generates
package names with subdirectories (eg. org.apache.jsp.user and
org.apache.jsp.admin, in org/apache/jsp/user and org/apache/jsp/admin
respectively) ...
Also I don't know where you set that "package=" thing?
|
| cc:
|
| Subject: JSPC
Hi,
I precompile my JSP's. I have the source files under a directory structure
as follows:
src
jsp
user
admin
I am trying to use the JspC with Ant as described at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html.
However, I want the pa
Does anybody know if there is a way to specify includes and excludes for
org.apache.jasper.JspC as an Ant task as below.
Cheers,
Alan
Any opinions expressed in this E-mail may
On Sun, Jul 11, 2004 at 01:15:59PM +, Laurence Arabia wrote:
: At the moment I am using -webinc jspweb.xml with JspC and then I merge
: this with my web.xml which has all my servlets definition in it. But this
: is a bad way of doing it cause I am messing with 1000's of lines of
Hi
At the moment I am using -webinc jspweb.xml with JspC and then I merge
this with my web.xml which has all my servlets definition in it. But this is
a bad way of doing it cause I am messing with 1000's of lines of text. What
is the proper way to do this ?
Is there an option in we
output to your
WEB-INF/classes directory. jspc in Tomcat 5.x should
automatically create the correct subdir structure and
place the class file in it.
2. Yuo need servlet definitions and mappings that
tell Tomcat "If someone requests this .jsp execute
this servlet instead". These go in
you would need a directory
called org/apache/jsp/subdir1/subdirB and you would
place that compiled JSP class there. The easiest way
to do this is to run your compile with the -d option
as stated above and point the output to your
WEB-INF/classes directory. jspc in Tomcat 5.x should
automatically
JDK1.4.1 and was to do with Strings and
> StringBuffer
> sharing memory for performance.
>
> Use JDK1.4.2 to ensure that this problem does not happen.
>
> Pete
>
> -Original Message-
> From: Nick Curry [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2004 11
Hi,
when I run jspc from command line
${tomcat_home}/bin/jspc.sh -s -l -uriroot
${tomcat_home}/webapps/myapp -d ${tomcat_home}/work
it generates .class files according to hierarchy* of
JSP files and that what I expected.
When I run this And task
it generates .java files - and all
Users List
Subject: RE: jspc
I seem to remember something about a known memory leak in javac 1.4 (not
sure which version), which might affect you if you use javac and have many
JSPs to compile - so that might be another argument for precompiling your
jsps...
Nick
-Original Message
:[EMAIL PROTECTED]
Sent: 25 June 2004 10:29
To: Tomcat Users List
Subject: Re: jspc
A good reason to precompile your JSP files is to make sure you don't
accidentally have broken JSP files on production. You then know *before*
deployment if any changes to your JSP files or the java classes they
b
le!
A thought..and to answer a question with a question (Why would
you precompile jsp files?), why is jspc there? If only to increase
performance on the first hit?
Thanks
Paul.
It will increase speed on the first viewing of the jsp, but after that I
can't see how there will be any differen
Users List
Subject: RE: jspc
Hi,
Yes..that is what I thought, but I learned from a 'reliable' source
I could accomplish this on saving overhead. So rather than looking into the
whys and whats, I looked into how to do it, and look into the performance
benefits later. I will provid
ow to do it, and look
into the performance benefits later. I will provide the list with my
sources reasoning, when it becomes available!
A thought..and to answer a question with a question (Why would
you precompile jsp files?), why is jspc there? If only to increase
performance on the first hit?
Thanks
P
reasoning, when it becomes available!
A thought..and to answer a question with a question (Why would
you precompile jsp files?), why is jspc there? If only to increase
performance on the first hit?
Thanks
Paul.
It will increase speed on the first viewing of the jsp, but after that I
can
g a
path
after the -compile switch, but it constructed and compiled a file with
the same name as the class directory destination).
Do I make sense?!
Paul.
Paul,
I just use the -compile option and have jspc do the
compilation from .java to .class for me. It seems to
work fairly well. Once all th
her than the
> classes be placed in the same dirs as the source? (I tried adding a
path
> after the -compile switch, but it constructed and compiled a file with
> the same name as the class directory destination).
>
> Do I make sense?!
>
> Paul.
>
> Paul,
>
> I just u
th
the same name as the class directory destination).
Do I make sense?!
Paul.
Paul,
I just use the -compile option and have jspc do the
compilation from .java to .class for me. It seems to
work fairly well. Once all the fully compiled (ie
.class) files are placed in you applications
WEB-INF/class
option and have jspc do the
compilation from .java to .class for me. It seems to
work fairly well. Once all the fully compiled (ie
.class) files are placed in you applications
WEB-INF/classes directory you just need to place the
generated web.xml file in WEB-INF. There is an option
to create
Hi Jason,
Thanks for that. Yes, it does make
Paul,
I just use the -compile option and have jspc do the
compilation from .java to .class for me. It seems to
work fairly well. Once all the fully compiled (ie
.class) files are placed in you applications
WEB-INF/classes directory you just
Paul,
I just use the -compile option and have jspc do the
compilation from .java to .class for me. It seems to
work fairly well. Once all the fully compiled (ie
.class) files are placed in you applications
WEB-INF/classes directory you just need to place the
generated web.xml file in WEB-INF
Hello,
I have compiled my JSPs thus:
jspc -webapp C:\src\site -d C:\src\site\classes -s -l -uriroot
C:\src\site
this builds the Java source files to the specified location, but how
might I deploy them?
What is a typical deployment after a JSP compilation? Compilation of
Java source files
Here's an update:
I ran this by hand on a command line without -verbose
for java but with the option
-Dorg.apache.commons.logging.simplelog.defaultlog=debug
for JspC and this is all I got for output:
2004/06/04 14:38:16:043 PDT [INFO] JspC - -uriRoot
implicitly set to
"/QIBM/UserDa
Does anyone know how to get jspc to display compile
errors it encounters when compiling a jsp to a .java
file? I haven't been able to get it to work with
4.1.18 or 5.0.19. I've looked through the source code
for JspC and it seems like it should be throwing
JasperExceptions if it enc
Hi,
>way. The bug fix seems to indicate the any exception
>should be rethrown so I expected to see it. It seems
>that the old -v option (for verbose ouput, i.e. -v4,
>-v9, etc.) for jspc is no longer valid. Is there a
>new option that will possibly produce more output?
I do
e bug fix) but no error message
appeared at all this time. In fact I didn't even get
the "Error in file..." message. I ran through the
configuration of the log4j logging but realized what I
really need is a way to get the exception encountered
by jspc displayed when I submit the JS
Hi,
>First off, the 0 length Java files are due to a bug in
>the Tomcat jspc compiler documented in this post:
>
>http://junlu.com/msg/41035.html
No. The post doesn't discuss why the files are 0-length, only the
consequences of them being 0-length (such as they're igno
First off, the 0 length Java files are due to a bug in
the Tomcat jspc compiler documented in this post:
http://junlu.com/msg/41035.html
Secondly I discovered that if I keep the JSP around
and then simply access it through a browser Tomcat
compiles the JSP correctly and I end up with a valid
Hi,
We have some JSP files that get autogenerated by a
development tool we are using and they display fine
when run normally in Tomcat. However, when we try to
precompile them using jspc we always end up with a few
0 length .java files. These are generally JSPs that
define sections of a
but now in Tomcat I see it's the other way around :-(
Jason
hicham abassi wrote:
Hello,
I have problem with jspc and useBean under Tomcat 5.0.21
I code jspc target into my build.xml which works good under Tomcat 4
but not under Tomcat 5.
There i
Hello,
I have problem with jspc and useBean under Tomcat 5.0.21
I code jspc target into my build.xml which works good under Tomcat 4 but
not under Tomcat 5.
There is my ant target :
There is
arset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: JSPC compiler breaks tag library calls in JSP?
Date: Sat, 10 Apr 2004 13:39:25 +0100
Message-ID: <[EMAIL PROTECTED]>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: JSPC compiler breaks tag library
This is my own stupid fault .. the taglib was not included in the file in question and
no error was presented by JasperC for me to pick this up.
Cheers, ADC
-Original Message-
From: Allistair Crossley
Sent: 10 April 2004 13:31
To: [EMAIL PROTECTED]
Subject: JSPC compiler breaks tag
; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: JSPC compiler breaks tag library calls in JSP?
Date: Sat, 10 Apr 2004 13:31:06 +0100
Message-ID: <[EMAIL PROTECTED]>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: JSPC compiler breaks tag library calls
Hi Guys
I have just compiled my application with the JSPC build file for Tomcat 5. I have
noticed that all my custom tag calls in the JSPs have been spat out "as is" without
being interpreted.
So is JSPC only usable when no custom tags are included? This will be unfortunate as I
w
On Thu, Apr 08, 2004 at 04:27:50PM +0100, Allistair Crossley wrote:
: Last night I used the JSPC ant build to precompile all my JSPs. This created a
: SRC folder under my WEB-INF and a file called generated_web.xml but no
: classes? Therefore when I placed the web.xml entries and restarted and
Hi Again Guys
Last night I used the JSPC ant build to precompile all my JSPs. This created a SRC
folder under my WEB-INF and a file called generated_web.xml but no classes? Therefore
when I placed the web.xml entries and restarted and tried to run my apps lots of
servlet not found exceptions
Unfortunately I need to use the static include. (It defines methods and
objects that most of my JSP pages use.)
If Jasper 2 can handle detection of static includes at run-time, why
can't JSPC?
>From the Tomcat 4.1 documentation:
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-ho
ursday, March 04, 2004 7:26 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1 JSPC not recongnizing change in compile time
included file
I am running Tomcat 4.1.24.
In nearly all JSP files in my webapp I have the following compile time
include:
<%@ include file="main.jsp"%>
However, ch
I am running Tomcat 4.1.24.
In nearly all JSP files in my webapp I have the following compile time
include:
<%@ include file="main.jsp"%>
However, changes to main.jsp are not caught by JSPC. And only the
main_jsp.java source is changed. If I delete all the *_jsp.java files
and
I don't claim to be an Ant master but from first look, Ant appears
doing exactly what you have told it to do. You may want to look at the
jspC task documentation in the Ant manual. Additionally, I believe
destdir attribute is required, even if you specify uribase attribute.
See:
Hello,
I'm trying to precompile my jsps with the JspC ant task.
The problem ist that jspc ignores my jsps directory structure when it
generates the servlet files: the files are flattened.
All the jsps are generated to ${app.home}/jsps. Jsps with the same name
but original
- Original Message -
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 26, 2004 6:00 PM
Subject: Re: JSPC under Tomcat5.0.18
Ian Joyce wrote:
> Hi.
>
> Can you show us your ant jspc tas
Ian Joyce wrote:
Hi.
Can you show us your ant jspc task?
[EMAIL PROTECTED] 01/26/03 03:46AM >>>
Dear list members ,
Recently I've decided to redeploy some of my projects with
Tomcat5.0.18.
Part of my projects are precomplied JSP files which were compiled
using JSPC that came wit
1 - 100 of 330 matches
Mail list logo