You basically use your own web.xml, but add a declaration as to where the jspc to add the CFG:
<?xml version = '1.0' encoding = 'windows-1252'?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"> <description>Thump Radio Online Web Application</description> <welcome-file-list> <welcome-file>/index.jsp</welcome-file> </welcome-file-list> <!-- Used to pre-compile JSP's --> <!-- [INSERT FRAGMENT HERE] --> ...... On 11/9/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote:
I am trying to use jspc-maven-plugin to precompile my JSP pages. The issue is that it creates its own web.xml, which is then to be used by the maven-war-plugin. Here, I have my own web.xml, so how do I pass my own web.xml to jspc-maven-plugin, so that I can use the generated web.xml in the maven-war-plugin? If you do not use this plugin, please let me know how you perform your pre-jsp compilation, so that I could maybe do it like you. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
-- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson