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 we are

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

2005-10-06 Thread ut9h-3pye
Jon, Thanks for your help. The uribase and uriroot were not set correctly. Here is the final version that I got working. I had one additional twist that I needed to copy the JSP files to another location first using the ant copy task. I set uriroot to the webapps root {dir}/html, and then

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

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

Precompiling jsps in different directories does not produce right servlet mappings (jasper issue)

2004-11-03 Thread Shweta Agarwal
for precompiling jsps. I am using this because I want my jsps to be precompiled and also because I want the web.xml file to be populated automatically with all the servlet mappings for the jsps. It works fine for all the jsp files which are under the directory ${basedir}/web (one specified

RE: trouble precompiling JSPs

2003-07-21 Thread Abid Ali Teepo
i think there should be no space between -d and the path, and no space between the two paths, i think u must use ; to separate the paths ... -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: 21. juli 2003 06:09 To: Tomcat Users List Subject: trouble precompiling JSPs

RE: trouble precompiling JSPs

2003-07-21 Thread Atreya Basu
(dot) ca -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: July 21, 2003 4:59 AM To: Tomcat Users List Subject: RE: trouble precompiling JSPs i think there should be no space between -d and the path, and no space between the two paths, i think u must use

trouble precompiling JSPs

2003-07-20 Thread Atreya Basu
Hello, I'm having some difficulty pre-compiling my JSPs. Could anyone give some insight into this? I type: jspc -d d:/psx_apps/WEB_INF d:\Projects\PSX_Gotter_2\CheckStatus.jsp and I get: Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 3 at

Re: precompiling jsps

2003-07-13 Thread Simon Pabst
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Web%20Application%20Compilation (didn't work for me though, had some CLASSPATH problems which i didn't investigate further yet) At 12:31 13.07.2003 +0800, you wrote: Hi, How do you precompile jsps for tomcat? Is it possible to

precompiling jsps

2003-07-12 Thread Nathan Coast
Hi, How do you precompile jsps for tomcat? Is it possible to package compiled jsps in a jar file to be included in the WEB-INF dir of another war file? If this is documented somewhere, I'd appreciate a shove in the right direction. thanks Nathan

Re: Precompiling JSPs

2003-06-19 Thread Andoni
Priest [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 3:51 PM Subject: RE: Precompiling JSPs You should read up on the JspC task: http://ant.apache.org/manual/OptionalTasks/jspc.html The JspC task will compile your jsp file to a java servlet (.java

Precompiling JSPs

2003-06-18 Thread Andoni
Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but for now I want to do this the command line way. I'm not even sure if ANT will do what I want. I want to have my .jsp files made

RE: Precompiling JSPs

2003-06-18 Thread Wayne Chang
Email: [EMAIL PROTECTED] -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 6:25 PM To: Tomcat Users List Subject: Precompiling JSPs Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should

Re: Precompiling JSPs

2003-06-18 Thread Ben Souther
Have you tried compiling the servlet source files in the work directory? On Wednesday 18 June 2003 05:25 am, Andoni wrote: Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but

RE: Precompiling JSPs

2003-06-18 Thread Andy Eastham
Andoni, I do this in Sun One Studio, where I do all my Java development. You can compile JSPs just as you can compile java source. Andy -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 10:25 To: Tomcat Users List Subject: Precompiling JSPs Hello

RE: Precompiling JSPs

2003-06-18 Thread Robert Priest
Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:37 AM To: Tomcat Users List Subject: RE: Precompiling JSPs Andoni, I do this in Sun One Studio, where I do all my Java development. You can compile JSPs just as you can compile java source. Andy

Re: Precompiling JSPs for Tomcat

2002-08-12 Thread Sean LeBlanc
On 08-09 15:21, Rossen Raykov wrote: Try something like: property name=build.compiler value=jikes/ path id=compile.classpath pathelement location=${java.home}/jre/lib/rt.jar/ pathelement location=${java.home}/lib/tools.jar/ pathelement location=${tomcat.lib}/jasper-compiler.jar/

Precompiling JSPs for Tomcat

2002-08-09 Thread Sean LeBlanc
Hi all, I'm having some issues with using Ant's jspc task (I have a thread going on the Ant mailing list), is there any way to manually call the compilation for Tomcat's build? Somehow, Tomcat must do it, so I figure there has to be a way to kluge something together that does the same thing?

RE: Precompiling JSPs for Tomcat

2002-08-09 Thread Rossen Raykov
] Subject: Precompiling JSPs for Tomcat Hi all, I'm having some issues with using Ant's jspc task (I have a thread going on the Ant mailing list), is there any way to manually call the compilation for Tomcat's build? Somehow, Tomcat must do it, so I figure there has to be a way

some doubts abt precompiling jsps.

2001-05-02 Thread kamesh jayachandran
Hai all, As suggested I can precompile the jsps to classes,but the problem is 1)With jspc I am able to parse the jsps to java files.Now I can compile.But tomcat follows its own naming convention when compiling the jsps to classes upon request(if it is not precompiled).Shall I have to follow the

precompiling jsps

2000-11-17 Thread Stéphane Laurière
Using Tomcat, is there a way like in RESIN, to precompile all jsps ? Regards, Stephane

Re: precompiling jsps

2000-11-17 Thread Wyn Easton
Check out the jspc.bat file shipped with Tomcat. --- Stéphane_Laurière [EMAIL PROTECTED] wrote: Using Tomcat, is there a way like in RESIN, to precompile all jsps ? Regards, Stephane = Wyn Easton [EMAIL PROTECTED] __ Do You Yahoo!?