I'm unable to undertstand a JSPC concept...
If I generate my JSP's java sources and binaries, I can include the
-webinc parameter to make jsp generate a file with servlet declarations
for all my web pages...
That's ok, but how I include this to my web.xml?
--
Felipe Schnack
Analista de
You can try treating the generated fragment as an external entity. Assuming the
fragment is in a file called webinc.xml (colocated with web.xml), try the
following in your web.xml:
?xml version=1.0?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
I'll try that.
But how could I merge files using ant? I'm actually using it.
On Tue, 2003-02-18 at 10:43, Kris Schneider wrote:
You can try treating the generated fragment as an external entity. Assuming the
fragment is in a file called webinc.xml (colocated with web.xml), try the
I could use pdf, however our client wishes to amend the .doc report once
generated. An earlier effort produced the documents in pdf format.
regards
Andy
also sorry follow up url was
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg58600.html
On Tue, 2003-02-18 at 14:11, Felipe
One possibility would be the concat task with a web-pre.xml, webinc.xml, and
web-post.xml.
Another would be to combine loadfile with copy using filters. You'd put a
token in your web.xml:
@webinc@
Then as part of your deployment,
loadfile property=webinc srcFile=webinc.xml/
copy file=web.xml
, you must have a token @WEBINC@ that you will relpace with
the contents of weninc.xml.
hope his helps,
-robert
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: repost: jspc webinc.xml
Date: 18 Feb
a token @WEBINC@ that you will relpace with
the contents of weninc.xml.
hope his helps,
-robert
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: repost: jspc webinc.xml
Date: 18 Feb