tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Richards <a...@esolution.co.uk>
Subject Re: repost: jspc webinc.xml
Date Tue, 18 Feb 2003 14:18:02 GMT
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 Schnack wrote:
>   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
> > following in your web.xml:
> > 
> > <?xml version="1.0"?>
> > 
> > <!DOCTYPE web-app
> >   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> >   "http://java.sun.com/dtd/web-app_2_3.dtd"
> >   [<!ENTITY webinc SYSTEM "webinc.xml">]
> > >
> > 
> > <web-app>
> > 
> >   &webinc;
> > 
> > <web-app>
> > 
> > I've had problems with this on some app servers (I think TC was okay though).
> > You could also perform some sort of merge during your build process (probably
> > Ant based).
> > 
> > Quoting Felipe Schnack <felipes@ritterdosreis.br>:
> > 
> > >   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 Sistemas
> > > felipes@ritterdosreis.br
> > > Cel.: (51)91287530
> > > Linux Counter #281893
> > > 
> > > Centro Universitário Ritter dos Reis
> > > http://www.ritterdosreis.br
> > > ritter@ritterdosreis.br
> > > Fone/Fax.: (51)32303341
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > -- 
> > Kris Schneider <mailto:kris@dotech.com>
> > D.O.Tech       <http://www.dotech.com/>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message