Tim Fennell wrote:
I've posted my patch for Jasper/Tomcat at the following location:
http://www.tfenne.com/jasper/
The page has a brief overview, a download link and "before and
after" screenshots so you can get an idea for what exactly the patch
does before you decide to patch your ow
ed java file.
-Original Message-
From: Tim Fennell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 12:15 PM
To: Tomcat Users List
Subject: Fwd: More helpful reporting of exceptions in JSPs
Apologies in advance for cross-posting this, but I sent this email
out to the to
work directory for a generated java file.
-Original Message-
From: Tim Fennell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 12:15 PM
To: Tomcat Users List
Subject: Fwd: More helpful reporting of exceptions in JSPs
Apologies in advance for cross-posting this, but I sent
; http://stripes.mc4j.org
>
> Begin forwarded message:
>
> > From: Tim Fennell <[EMAIL PROTECTED]>
> > Date: October 9, 2005 5:50:11 PM EDT
> > To: tomcat-dev@jakarta.apache.org
> > Subject: More helpful reporting of exceptions in JSPs
> > Reply-To: "
r 11, 2005 12:15 PM
> To: Tomcat Users List
> Subject: Fwd: More helpful reporting of exceptions in JSPs
>
>
> Apologies in advance for cross-posting this, but I sent this email
> out to the tomcat-dev list a couple of days ago and have received no
> replies at all... I t
tributing it.
> Thanks
>
> -Tim Fennell
> http://stripes.mc4j.org
>
> Begin forwarded message:
>
>> From: Tim Fennell <[EMAIL PROTECTED]>
>> Date: October 9, 2005 5:50:11 PM EDT
>> To: tomcat-dev@jakarta.apache.org
>> Subject: More helpful reporting
http://stripes.mc4j.org
Begin forwarded message:
From: Tim Fennell <[EMAIL PROTECTED]>
Date: October 9, 2005 5:50:11 PM EDT
To: tomcat-dev@jakarta.apache.org
Subject: More helpful reporting of exceptions in JSPs
Reply-To: "Tomcat Developers List"
Hi,
I'll apologize in advance if this
<[EMAIL PROTECTED]> said:
>
>
> Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot
> probably aren't right.
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I am trying to get our JSPs to be precompiled as part of
> > our ant build proce
Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot
probably aren't right.
[EMAIL PROTECTED] wrote:
Hi,
I am trying to get our JSPs to be precompiled as part of
our ant build process to catch all syntax errors at compile
time.
The problem I have run into is that w
Hi,
I am trying to get our JSPs to be precompiled as part of
our ant build process to catch all syntax errors at compile
time.
The problem I have run into is that we are using apache +
tomcat and we have set the following rules in apache httpd.
conf:
JkMount /servlets/* ajp13
JkMount /jsp
Murali schrieb:
Hi ,
Can you someone provide me some information on how to precompile JSPs
(probably thousands of JSPs) ?
Regards,
Murali
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
-
To unsubscribe
Never mind. I searched the list again and found the answer. Though I
haven't tried it, yet, it looks like with the proper arguments (output
directory, package name, etc.) to JSPC, you can manipulate it to compile
the jsps to the work directory and not have to insert the servlet
defin
I've searched the archives and couldn't find an answer to this question.
The Tomcat manual suggests using Jspc to precompile jsps. The method it
describes precompiles the jsps and creates stub servlet definitions for
each jsp to place within web.xml. Instead of this method, I wou
>From the Tomcat docs:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
> -Ursprüngliche Nachricht-
> Von: Murali [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 29. September 2005 16:54
> An: tomcat-user@jakarta.apache.org
> Betreff: How to PreCompi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Murali wrote:
> Hi ,
> Can you someone provide me some information on how to precompile JSPs
> (probably thousands of JSPs) ?
This might help.
http://www.rgagnon.com/javadetails/java-0414.html
- --
"Love is mutual self-giving tha
Hi ,
Can you someone provide me some information on how to precompile JSPs
(probably thousands of JSPs) ?
Regards,
Murali
if you haven't reconfigured your resin -> actually nothing.
just drop your war file in webapps.
if you did, you have to do the same you did in httpd.sh now in
catalina.sh. More or less.
leon
On 9/29/05, Prema Kumar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have an Application which is J2EE Archi
Hi,
I have an Application which is J2EE Architecture and working with Resin
2.1.6
Now we are trying to bring up my application using Tomcat.
What necessary modifications needs to be done in Tomcat web.xml file and
server.xml
Prem
***
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
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 class
e fragment?
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 t
There is no need to turn jspf into classes. The jspf are included by real jsp
files. Those jsp files are turned into the class files.
-Tim
Richard Burman wrote:
Tim,
Is there no way of turning the fragment (jspf) file into .class files or
do they need to remain as JSPs?
Cheers,
Richard
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 the
> From: Zachi Hazan [mailto:[EMAIL PROTECTED]
> Subject: Re: compile precompile jsps at runtime
>
> So, how can I do it with tomcat not "out of the box"?
One approach would be to cheat! Tomcat compiles the page when the page
is first invoked. So, you could for ex
ng mapping. In a nutshell ... not pretty.
Or you can have tomcat run in production mode (for the jsp servlet) and all
the jsp's get compiled in the background when they are changed. But this
relies on jsps NOT being precompiled.
-Tim
Zachi Hazan wrote:
So, how can I do it with tomcat not
piled without the presence of the parent. Does this mean
that I can only include the 'parent' JSPs in my JAR file and included in
my web.xml? Do I have to keep the fragments as raw JSPs in my webapp,
then? I'd really rather get them all to
I still want to make changes to the jsps that will take
effect immediately.
I want to be able to change jsp and see the changes immediately
although they are precompiled
Does anyone knows how to do it?
-
To unsubscribe,
red within themselves. The 'parent' page will
compile because it has all it needs to be compiled but the fragment
cannot be compiled without the presence of the parent. Does this mean
that I can only include the 'parent' JSPs in my JAR file and included in
my web.xml? Do I ha
Can't with tomcat out of the box.
-Tim
Zachi Hazan wrote:
Hi all,
Is there a way to compile precompiled jsp at runtime?
i.e., I want to precompiled my jsp before deployment, but after they are
deployed I still want to make changes to the jsps that will take effect
immediately.
I want
sage-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 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
Hi all,
Is there a way to compile precompiled jsp at runtime?
i.e., I want to precompiled my jsp before deployment, but after they are
deployed I still want to make changes to the jsps that will take effect
immediately.
I want to be able to change jsp and see the changes immediately
although
piled 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 them (the include files) to jspf and they will be
ignored
by th
t when the JSPs were turned into Java
classes, they ignored the fact that the bean wasn't declared in that JSP
and generated the classes regardless. What about when you try to compile
the Java into a .class file? Suddenly, the Java is missing a variable
declaration and cannot compile the class.
Ah, I thought it was all too good to be true. Now that I have an
understanding of how to put it all together, I have given it a go but
hit another snag.
Remember the use of the 'errorOnUseBeanInvalidClassAttribute' flag?
Well, of course, that means that when the JSPs were turned into Ja
a play 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
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:
RichardsApp.DoSomething_jsp
/DoSomething.jsp
Richard Burman wrote:
mcat 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 web.xml
Something like this with ant:
<!--
not remove
this line -->
-Original Message-
From: Richard Burman [mailto:[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 try
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
case too? If so, we should signal
it as a bug...
In my case, the precompiled classes for jsps under ${CATALINA_HOME}/work
were sometimes not deleted after I undeployed the application. It really
looks like a bug to me.
Cheers,
Michal.
> -Original Message-
> From: Mark Hagger [ma
ir Crossley [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 22. August 2005 16:14
> An: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Betreff: RE: tomcat 5.5.9 not recompiling JSPs
>
>
> compiled pages are just classes, and so long as they are
> mapped correctly in the web.xml
t: Re: tomcat 5.5.9 not recompiling JSPs
>
>
> Mark Hagger wrote:
> > ...
> > Although to be honest I suspect that the best solution for
> production
> > boxes is to pre-compile all jsps into the war file anyway.
>
> Is this possible? Don't different container
Mark Hagger wrote:
...
Although to be honest I suspect that the best solution for production
boxes is to pre-compile all jsps into the war file anyway.
Is this possible? Don't different containers store the
compiled pages in different places, with different names?
Paul Singleton
Although to be honest I suspect that the best solution for production
boxes is to pre-compile all jsps into the war file anyway.
Mark
On Mon, 2005-08-22 at 14:24 +0200, Michal Kwiatek wrote:
> I've just noticed that on tomcat 5.5.9 JSPs unpacked by tomcat from a
> deployed wa
I've just noticed that on tomcat 5.5.9 JSPs unpacked by tomcat from a
deployed war file have creation dates pointing to the time when the
files were first created. On tomcat 5.0.28 unpacked files have creation
dates pointing to time when they were unpacked (i.e created on this file
s
essage-
> From: Sean Rowe [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 22, 2005 8:32 AM
> To: Tomcat Users List
> Subject: Re: tomcat 5.5.9 not recompiling JSPs
>
> I saw this just today. I did some digging and realized that
> my application context file, usu
5.5.9 - for some reason tomcat does not
recompile JSPs after I redeploy the application using manager
application.
There's no error message in the logs, tomcat has write access to work
directory and it compiles new jsps. It simply does not recompile the
existing ones.
Have you seen
Hello,
I have a problem with tomcat 5.5.9 - for some reason tomcat does not
recompile JSPs after I redeploy the application using manager
application.
There's no error message in the logs, tomcat has write access to work
directory and it compiles new jsps. It simply does not recompil
Taglib to simplify flow2 layout
and this is how in load the taglib in the JSPs files:
<[EMAIL PROTECTED] uri="/WEB-INF/tlds/flow_taglib.tld" prefix="flow"%>
Thanks
--
Jean-Francois Beaulac
[EMAIL PROTECTED]
:
> > >
> > > 1) using jdk 1.5
> > > or
> > > 2) using jdk 1.4 (and with the compatibility package for tomcat 5.5)
> > >
> > > as the compatibility package (as I understand it) addresses xml parser
> > > versioning/instantiation issues.
tand it) addresses xml parser
> > versioning/instantiation issues.
> >
> > -- Tim
> >
> >
> >
> > Craig Dixon wrote:
> > > I've encountered a strange problem with my JSPs in Tomcat. Whenever I
> > > change one of them, then try t
ity package for tomcat 5.5)
>
> as the compatibility package (as I understand it) addresses xml parser
> versioning/instantiation issues.
>
> -- Tim
>
>
>
> Craig Dixon wrote:
> > I've encountered a strange problem with my JSPs in Tomcat. Whenever I
> >
I've encountered a strange problem with my JSPs in Tomcat. Whenever I
change one of them, then try to access it from the browser, I get the
following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfi
I've encountered a strange problem with my JSPs in Tomcat. Whenever I
change one of them, then try to access it from the browser, I get the
following error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it
Hi,
I'm adding support for JSPs on our server, so we can host a human rights
search engine (http://www.hurisearch.org/) which is powered by Fast
search technology.
I assume that it's possible to get JSP pages running in the same manner
as PHP pages do on Apache, and I'm wonderi
> From: Trevor Quinn [mailto:[EMAIL PROTECTED]
> When I deploy a web application to a Windows 2K server
> running Tomcat 5.0.28 and JDK 1.5, I see "Unable to compile
> JSP" errors on every JSP page, but only when Tomcat is
> running as a Windows service. When I run Tomcat from the
> console wi
Am Freitag, 1. Juli 2005 22:30 schrieb Trevor Quinn:
> When I deploy a web application to a Windows 2K server running Tomcat
> 5.0.28 and JDK 1.5, I see "Unable to compile JSP" errors on every JSP page,
> but only when Tomcat is running as a Windows service. When I run Tomcat
> from the console win
Hi,
When I deploy a web application to a Windows 2K server running Tomcat 5.0.28
and JDK 1.5, I see "Unable to compile JSP" errors on every JSP page, but only
when Tomcat is running as a Windows service. When I run Tomcat from the console
window, all pages compile and display correctly.
I had
Hi Guys,
Having a real ball ache with a requirement. We want to handle any URL with a
Spring controller (servlet for those not into Spring).
Therefore
http://ourserver/wacky/url
http://ourserver/something
We want coming to our controller. Why? Because we have fancy page lookup and
redirect se
Hi -
I think it would be better to use java.io.File.separator (which will be
identical to file.separator, but is clearer and compile-time checked for
typos (as opposed to the string "file.separator" )).
Tim
egan0019 wrote:
When building file path strings, should one always use the
System.g
bout pursuing a solution for this, Maybe there's an
alternative, how about this. (It's not pretty but saves some of the
reinvention that you describe).
Let's say it's an acceptable limitatio to create all your new JSPs to a
separate webapp folder. This webapp only has a single se
that seem like a waste of time to you?
Now, clearly, Tomcat implements a JSPServlet. The Jasper project is simply
that. Identical pretty much to a VelocityServlet. I can tie *.vm to
VelocityServlet, and they work identically to JSPs in pretty much every way
and form. JSPs aren't anything speci
the WAR
on to the file system, yet, most obviously do for performance reasons.
But it does bring up a basic problem, for example, if by some fluke the app
is redeployed, all of that new data is blasted away by the WAR..that would
be Bad.
But I can't see another (easy) way to create JSPs on
sly do for performance reasons.
But it does bring up a basic problem, for example, if by some fluke the app
is redeployed, all of that new data is blasted away by the WAR..that would
be Bad.
But I can't see another (easy) way to create JSPs on the fly, or in fact to
create any other content
o add content is also rather static -- add it to the WAR
> and redeploy.
>
> That's not particularly dynamic tho, and doesn't really facilitate
changing
> content from the web app.
>
> One of the things I'd like to be able to create on the fly are JSPs that
are
>
, then it
might not check the exploded FS for changes. Don't take this as gospel
though, this is a hazy half-remembered bit of info.
> -Original Message-
> From: Will Hartung [mailto:[EMAIL PROTECTED]
> Sent: Friday 27 May 2005 18:31
> To: Tomcat Users List
> Subject
hanging
content from the web app.
One of the things I'd like to be able to create on the fly are JSPs that are
then served by the container.
Now, Kenneth Jensen may have answered my question for me by providing this
snippet:
ServletContext context = getServletConfig().getServletCon
Hello again,
Is anyone using precompiled JSP's in a similar way or have knowledge of
others using precompiled JSP's in Tomacat that is similar to the usage
below?
Any response is welcomed... ;-)
Mike Baliel wrote:
Hello,
I have an application that is currently running under JBoss 3.2.
Hello,
I have an application that is currently running under JBoss 3.2.x
with Jetty that I would like to get running on Tomcat 5.X. I have
precompiled all of the JSP's and mapped them to there respective JSP
path in the web.xml. Here is a sample fragment of the web.xml:
2.3//EN" "htt
No, see http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html
There is a feature that allows you to set context configuration inside a WAR
file. [by creating a META-INF/context.xml file. ] Whether this would work
with userdirs too , I don't know (and have not tested)
-Tim
Nikola Mi
Tim Funk wrote:
~user/public_html/META-INF/context.xml might do the trick.
So, the magical name of the UserDir context is "context"?
Nix.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
~user/public_html/META-INF/context.xml might do the trick.
-Tim
Nikola Milutinovic wrote:
Tim Funk wrote:
There is the concept of user dirs ...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
See the section "User Web Applications"
I stand corrected.
I still prefer explicit contex
Tim Funk wrote:
There is the concept of user dirs ...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
See the section "User Web Applications"
I stand corrected.
I still prefer explicit context mappings. How would you deploy JNDI
resources in userdir case?
Nix.
--
t I am not able to access JSPs in the above fashion. What could be
added into server.xml
so that I can access jsps using servername.(http://servername/~username)
There is no ellegant solution, like in Apache HTTPD ("UserDir" directive).
Firstly, Tomcat doesn't really care abo
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 12:47
To: Tomcat Users List
Subject: Re: how to access JSPs using servername/~username
Akhthar Parvez. K wrote:
>Hi,
>
>I used to access the html webpages using
servername.(http://servernam
Akhthar Parvez. K wrote:
Hi,
I used to access the html webpages using servername.(http://servername/~username)
But I am not able to access JSPs in the above fashion. What could be added into server.xml
so that I can access jsps using servername.(http://servername/~username)
There is no ellegant
Hi,
I used to access the html webpages using
servername.(http://servername/~username)
But I am not able to access JSPs in the above fashion. What could be added into
server.xml
so that I can access jsps using servername.(http://servername/~username)
--
With Regards,
Akhthar
Please correct the documentation to reflect that this does not work. It would
save a lot of time and lots of emails here about the same issue.
Thanks, Milo
--
___
Get your free email from http://www.dellmail.com
--
er@jakarta.apache.org
Subject: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Date: Wed, 27 Apr 2005 15:20:32 +0200
>
> Hello,
>
> I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since
> Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot
> com
Hi
>Did you have a look at the how-to, which I mentioned yesterday? And if yes,
why didn't >it solve your problem?
>-> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
It works.. But there's a problem with
compilerSourceVM - What JDK version are the source files compatible wi
Hi Stefan,
Am Donnerstag, 28. April 2005 09:07 schrieb Stefan Parnet:
> The problem is:
> 1. Tomcat 5.5 (without compatibility packages) runs only with Java
> 1.5 (JRE!)
> 2. The built in Java compiler to compile JSPs (and only JSPs) is the
> Eclipse JDT Compiler !!! JAVA 1.4
es to compile JSPs. But
it should be possible to change the config, so that Tomcat uses another
compiler. At least, the releasenotes say so.
But there is no useful howto at the tomcat web site or anywhere else.
(at least I didn't find one)
The problem is:
1. Tomcat 5.5 (without compatibilit
Claude
-Message d'origine-
De : Stefan Parnet [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 27 avril 2005 16:14
À : Tomcat Users List
Objet : Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5
Lutz Zetzsche schrieb:
>Hi Stefan,
>
>Am Mittwoch, 27. April 2005 15:20 s
nfigured?
Also, I've tried to precompile the pages with the script in the docs
on the tomcat website but the script fails with a
NullPointerException. Has anyone else successfully precompiled JSPs
under 5.5 with the script on this page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ja
and load it. Do I potentially have something
misconfigured?
Also, I've tried to precompile the pages with the script in the docs on
the tomcat website but the script fails with a NullPointerException.
Has anyone else successfully precompiled JSPs under 5.5 with the script
on this page:
Hi Stefan,
Am Mittwoch, 27. April 2005 16:14 schrieb Stefan Parnet:
> I have the environment variables JAVA_HOME and JRE_HOME already set
> to the JDK, but Tomcat still compiles JSPs with its built in Eclipse
> JDT Java compiler.
> This fact is mentioned in the Release Notes. T
Lutz Zetzsche schrieb:
Hi Stefan,
Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet:
Hello,
I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since
Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot
compile my JSPs.
So I want the tomcat to compile the JSP's
Hi Stefan,
Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet:
> Hello,
>
> I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since
> Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot
> compile my JSPs.
> So I want the tomcat to compile the JSP'
Hi, Im using Tomcat 5.5.9 and JDK 1.5.0_02. Im trying to precompile the
Liferay Pro Portal 3.2 JSPs using the ant build script found on the apache
web site:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Appl
ication%20Compilation
modified to add jars placed in common
Hello,
I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since
Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile
my JSPs.
So I want the tomcat to compile the JSP's with the Sun JDK 1.5 compiler.
I searched the web, but I did not find any instructions h
Am Dienstag, 5. April 2005 16:09 schrieb Milo Grains:
>
> When will Java 5 features be available in Jasper/Tcat5.5.x to compile
> JSPs???
>
They are available. But you will have to either configure tomcat to use javac
from tools.jar to compile JSPs or replace the Eclipse JDT com
Hello,
When will Java 5 features be available in Jasper/Tcat5.5.x to compile JSPs???
Thanks, Milo
--
___
Get your free email from http://www.dellmail.com
-
To unsubscribe, e
I've followed the directions in the docs to get 5.5.7 to compile JSPs with
-source 1.5 features. It stays in -source 1.4 mode.
I know the docs say the IBM compiler will be updated to handle Java 5 feature.
When inner classes were introduced in jdk 1.1, it took IBM a year to implement
You could do it that way but I don't feel that placing "common" resources
in a specific application directory is the proper approach.
For example, if I had shared dlls that are used for Microsoft Office, I
wouldn't place them into the Word application's directory.
At 10:50 AM 3/1/2005, Doug wro
uesday, March 01, 2005 10:37 AM
Subject: Re: Need access to classes outside Tomcat for JSPs
If you happen to change the bootstrap classpath - please do not email the
list with ClassNotFound issues. ;)
If you really need to access jar's or classes outside of your webapp you
can either:
1) Wri
If you happen to change the bootstrap classpath - please do not email the
list with ClassNotFound issues. ;)
If you really need to access jar's or classes outside of your webapp you can
either:
1) Write your own WebAppClassloader - icky but doable
2) Change $CATALINA_HOME/conf/catalina.propertie
Just as soon as I hit send
Registry entry.
HKLM | Software | Apache Software Foundation | Procrun 2.0 | Tomcat5 |
Parameters | Java
Classpath =
.;e:\java\library\basic;e:\java\library\custom;E:\java\Tomcat\bin\bootstrap.jar
---
say to
put them in the WEB-INF or the "shared" directories of TomCat.
I know it can be done because that's the way I have my other box setup
now. My "shared" classes are in E:\java\library. My WEB-INF\classes
directory is empty, and TomCat compiles the JSPs fine.
Well, not to be "rude", but your design choice is IMHO, poor. Build
tools are available and designed to handle version control -- which is
what I read as the reason for your reluctance to include the classes
directly in the webapp. Every few months, I see someone come on the
list asking what
Tomcat's purposes, it's up to you.
Having the same classes twice is no bad thing - having source twice is.
Allistair.
> -Original Message-
> From: Dan [mailto:[EMAIL PROTECTED]
> Sent: 01 March 2005 13:55
> To: Tomcat Users List
> Subject: Re: Need access
1 - 100 of 869 matches
Mail list logo