Re: JspC problem

2004-01-28 Thread David Ramsey
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: http://ant.apache

JspC problem

2004-01-28 Thread Massimo Ferrari
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 originally in dif

Fw: Tomcat 4.1.18 jspc problem.

2003-01-02 Thread Alexey Kozadaev
Hello everyone, I'm experiencing a problem with jspc. It always returns NullPointerException, no matter what .jsp file I compile. Although it works thru ?jsp_precompile, unfortunately we have a very big web site where plenty of jsp files and they are have certain, complex structured layout in file

Tomcat 4.1.18 jspc problem.

2002-12-27 Thread Alexey Kozadaev
Hello everyone, I'm experiencing a problem with jspc. It always returns NullPointerException, no matter what .jsp file I compile. Although it works thru ?jsp_precompile, unfortunately we have a very big web site where plenty of jsp files and they are have certain, complex structured layout in file

Tomcat 4.1.18 jspc problem.

2002-12-26 Thread Alexey Kozadaev
Hello everyone, I'm experiencing a problem with jspc. It always returns NullPointerException, no matter what .jsp file I compile. Although it works thru ?jsp_precompile, unfortunately we have a very big web site where plenty of jsp files and they are have certain, complex structured layout in file

Re: jspc problem: precompilation inserts  character

2002-11-04 Thread peter lin
you need to replace the pound character with the equivalent HTML code. as in replace with "£". that should work. peter Anthony Martin wrote: > > Hi, > > I have hit a very interesting problem with precompilation of jsp files > using the jspc.bat which is distributed with Tomcat. > > In tr

jspc problem: precompilation inserts  character

2002-11-04 Thread Anthony Martin
Hi, I have hit a very interesting problem with precompilation of jsp files using the jspc.bat which is distributed with Tomcat. In trying to precompile a jsp that includes the 'pound' character (£), jspc.bat generates a .java file which prefixes the 'pound' character with an 'A-circumflex' char

Re: get blank pages when using precompiled JSPs (jspc problem?)

2002-08-20 Thread Eric Gilbertson
it turns out that the problem was simply that the JSP servlet was not registered in the web.xml file being generated by jspc. simply putting the servlet-mapping entry for jsps back in resolved the problem. seems like a bug to me that jspc doesn't include this entry given that it is required to ru

Re: get blank pages when using precompiled JSPs (jspc problem?)

2002-08-19 Thread Eric Gilbertson
Hello Again: I've traced my precompiled JSPs not responding problem down to the following statement returning null: _jspxFactory = JspFactory.getDefaultFactory(); Since this a boiler plate jsp statement that does work when the JSPs are dynamically compiled, it seems to me that the

get blank pages when using precompiled JSPs (jspc problem?)

2002-08-16 Thread Eric Gilbertson
Hello Tomcaters: can anyone tell me why a JSP that works when dynamically compiled would generate a blank page when statically compiled using jspc? the jsp class file is generated via the ant task listed below and packaged into a .war file. everything appears to build okay and yet when i hit the

RE: JSPC problem

2002-03-21 Thread Larry Isaacs
indows systems. Cheers, Larry > -Original Message- > From: Nicholls, Leon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 10:25 AM > To: '[EMAIL PROTECTED]' > Subject: JSPC problem > > > Hi > I have been trying to use the java precompiler for Tomca

JSPC problem

2002-03-21 Thread Nicholls, Leon
Hi I have been trying to use the java precompiler for Tomcat 3.3a. However, I am getting weird error messages. It seems to complain about not finding the crimson xml parser, but the crimson.jar file is located under jakarta-tomcat/lib/container. The crimson parser seems to have registered itself a

JspC problem on windows

2001-07-02 Thread brad . pardee
Hello, I have a problem when I'm pre-compiling JSP files on windows that have the following line: <%@ include file="WizardHeader.jsp"%> Which results in the error: 2001-06-29 05:31:58 - error-the file '\foobar\TemplateSelect.jsp' generated the following parse exception: org.apache.jasp

jspc problem

2001-02-13 Thread Barbulescu Octavian Marius
Hi,   I'm using Tomcat 4.0-m5 and I'm trying to precompile a jsp file with jspc tool. Here is the output:   d:\java\apache\tomcat\bin>jspc -v10 -d D:\java\apache\tomcat\work\localhost\examples D:\java\apache\tomcat\webapps\examples\jsp\errorTracking\login.jspJASPER_HOME not set. Assuming par

jspc problem when including files (relative)

2001-01-19 Thread Ciot, Thierry
jspc is failing with: error-the file '\sub\Page3.jsp' generated the following parse exception: org.apache.jasper.compiler.CompileException: c:\tomcat321\webapps\test\sub\Page3.jsp(5,0) Bad file argument to include   In Page3.jsp I am including a file like this: <%@include file="../Inc2.jsp