Re: More helpful reporting of exceptions in JSPs

2005-10-12 Thread Darryl L. Miles
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

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
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

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Tim Fennell
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

Re: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Leon Rosenberg
; 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: "

RE: More helpful reporting of exceptions in JSPs

2005-10-11 Thread GB Developer
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

Re: Fwd: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Frank W. Zammetti
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

Fwd: More helpful reporting of exceptions in JSPs

2005-10-11 Thread 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 of exceptions in JSPs Reply-To: "Tomcat Developers List" Hi, I'll apologize in advance if this

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread ut9h-3pye
<[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

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread Jon Wingfield
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

precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-05 Thread ut9h-3pye
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

Re: How to PreCompile JSPs

2005-10-04 Thread Frank Langanke
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

RE: Precompile jsps into work directory

2005-09-30 Thread Scott Goldstein
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

Precompile jsps into work directory

2005-09-29 Thread Scott Goldstein
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

AW: How to PreCompile JSPs

2005-09-29 Thread Bernhard Slominski
>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

Re: How to PreCompile JSPs

2005-09-29 Thread James Black
-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

How to PreCompile JSPs

2005-09-29 Thread Murali
Hi , Can you someone provide me some information on how to precompile JSPs (probably thousands of JSPs) ? Regards, Murali

Re: Jsps

2005-09-28 Thread Leon Rosenberg
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

Jsps

2005-09-28 Thread Prema Kumar
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 ***

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-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 class

RE: Pre-compiled JSPs?

2005-09-07 Thread Richard Burman
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

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
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

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 the

RE: compile precompile jsps at runtime

2005-09-06 Thread Peter Crowther
> 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

Re: compile precompile jsps at runtime

2005-09-06 Thread Tim Funk
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

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
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

Re: compile precompile jsps at runtime

2005-09-06 Thread Zachi Hazan
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,

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
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

Re: compile precompile jsps at runtime

2005-09-06 Thread Tim Funk
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

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
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

compile precompile jsps at runtime

2005-09-06 Thread Zachi Hazan
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

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
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

Re: Pre-compiled JSPs?

2005-09-06 Thread Tim Funk
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.

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
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

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
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

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: RichardsApp.DoSomething_jsp /DoSomething.jsp Richard Burman wrote:

RE: Pre-compiled JSPs?

2005-09-06 Thread Richard Burman
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: <!--

RE: Pre-compiled JSPs?

2005-09-05 Thread Karasek-XID, Nicolas
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

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: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Michal Kwiatek
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

AW: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Bernhard Slominski
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

RE: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Allistair Crossley
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

Re: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Paul Singleton
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

Re: tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Mark Hagger
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

tomcat 5.5.9 not recompiling JSPs

2005-08-22 Thread Michal Kwiatek
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

RE: tomcat 5.5.9 not recompiling JSPs

2005-08-21 Thread Michal Kwiatek
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

Re: tomcat 5.5.9 not recompiling JSPs

2005-08-21 Thread Sean Rowe
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

tomcat 5.5.9 not recompiling JSPs

2005-08-21 Thread Michal Kwiatek
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

SAX warnings when compiling JSPs using Taglibs - 5.0.30

2005-08-11 Thread Jean-Francois Beaulac
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]

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-12 Thread Craig Dixon
: > > > > > > 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.

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-11 Thread Craig Dixon
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

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-11 Thread Craig Dixon
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 > >

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-11 Thread Tim Diggins
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

Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-08 Thread Craig Dixon
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

Adding support for JSPs in Apache

2005-07-04 Thread Morten W. Petersen
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

RE: Problem compiling JSPs with Tomcat as Windows Service

2005-07-04 Thread Peter Crowther
> 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

Re: Problem compiling JSPs with Tomcat as Windows Service

2005-07-01 Thread Markus Schönhaber
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

Problem compiling JSPs with Tomcat as Windows Service

2005-07-01 Thread Trevor Quinn
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

[OT] wildcard servlet mapping also catching jsps

2005-06-30 Thread Allistair Crossley
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

Re: [OT]: Adding content/JSPs on the fly: file.separtor

2005-05-29 Thread Tim Diggins
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

RE: Adding content/JSPs on the fly

2005-05-27 Thread Steve Kirk
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

Re: Adding content/JSPs on the fly

2005-05-27 Thread Will Hartung
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

Re: Adding content/JSPs on the fly

2005-05-27 Thread Frank W. Zammetti
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

Re: Adding content/JSPs on the fly

2005-05-27 Thread Will Hartung
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

[OT]: Adding content/JSPs on the fly: file.separtor

2005-05-27 Thread egan0019
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 >

RE: Adding content/JSPs on the fly

2005-05-27 Thread Steve Kirk
, 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

Adding content/JSPs on the fly

2005-05-27 Thread Will Hartung
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

Re: Problem with precompiled JSPs

2005-05-26 Thread Mike Baliel
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.

Problem with precompiled JSPs

2005-05-26 Thread Mike Baliel
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

Re: how to access JSPs using servername/~username

2005-05-13 Thread Tim Funk
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

Re: how to access JSPs using servername/~username

2005-05-12 Thread Nikola Milutinovic
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

Re: how to access JSPs using servername/~username

2005-05-12 Thread Tim Funk
~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

Re: how to access JSPs using servername/~username

2005-05-12 Thread Nikola Milutinovic
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. --

Re: how to access JSPs using servername/~username

2005-05-12 Thread Tim Funk
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

RE: how to access JSPs using servername/~username

2005-05-12 Thread Raghupathy,Gurumoorthy
-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

Re: how to access JSPs using servername/~username

2005-05-12 Thread Nikola Milutinovic
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

how to access JSPs using servername/~username

2005-05-12 Thread Akhthar Parvez. K
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 docs - Compile JSPs w/ JDK 1.5

2005-05-06 Thread Milo Grains
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 --

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-05-06 Thread Milo Grains
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

RE: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-28 Thread Steiner, Stephan
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

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-28 Thread Lutz Zetzsche
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

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-28 Thread Stefan Parnet
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

RE: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Serlet Jean-Claude
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

Re: JSPs slow to compile?

2005-04-27 Thread Bud Bach
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

JSPs slow to compile?

2005-04-27 Thread Bud Bach
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:

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Lutz Zetzsche
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

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Stefan Parnet
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

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Lutz Zetzsche
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'

Precompiling JSPs fails

2005-04-27 Thread Bud Bach
Hi, I’m using Tomcat 5.5.9 and JDK 1.5.0_02. I’m 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

Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread 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 with the Sun JDK 1.5 compiler. I searched the web, but I did not find any instructions h

Re: JSPs with Java 5 ?

2005-04-05 Thread Markus Schönhaber
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

JSPs with Java 5 ?

2005-04-05 Thread Milo Grains
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

Compile JSPs with Java 5 features?

2005-03-22 Thread Milo Grains
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

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Dan
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

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Parsons Technical Services
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

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Tim Funk
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

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Dan
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 ---

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Dan
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.

Re: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread David Smith
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

RE: Need access to classes outside Tomcat for JSPs

2005-03-01 Thread Allistair Crossley
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   2   3   4   5   6   7   8   9   >