tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re :automating use of webXmlFragment result - how to do?
Date Thu, 02 Feb 2006 16:49:16 GMT

Using the Jasper2 task and pointing it to my web.xml, the generated
fragment is automatically merged into the right spot of web.xml.
Here's how I specify the Jasper2 task.  You'll obviously have to set your
attributes according to your setup.  The two key attributes are
webxmlfragment and addwebxmlmappings.  It'll look in your dir that the
uriroot attribute points to to find your web.xml to insert into.

      outputdir="${jasper2.output.dir}" />

>> Subject:
>> automating use of webXmlFragment result - how to do?
>> From:
>> "Olinga K. Abbott" <>
>> Date:
>> Wed, 1 Feb 2006 14:58:27 -0800 (PST)
>> To:
>> To:
>>Use of the webXmlFragment attribute with Jasper produces an xml fragment
requiring inserting into
>>web.xml. Although I could write some custom code to perform this task,
probably using xslt, this
>>seems like a common enough use case that a solution should already exist.
Does anyone know of such
>>a solution?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message