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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
15 matches
Mail list logo