Hello,

The following POM goal:

mvn cocoon:rcl

Implies that web.xml, applicationContext.xml, and the rest of the stuff in
webapp/WEB-INF is automatically generated by maven... But how do I
edit/modify them? Do I do it through the POM or is there some kind of way to
tell maven to use my own file?

My second question is - how do I define a particular class to load when the
web server loads, when I use the Jetty webapp container example from the
Cocoon2 getting started guides? Do I do this through web.xml or
applicationContext.xml, or perhaps by editing the POM file?

I am currently using Jetty in another project where this is defined in a
<listener> tag in the web.xml, but perhaps there is a different way to do
it?

Thanks,

Shai

-- 
View this message in context: 
http://www.nabble.com/Modifying-web.xml---loading-a-class-when-application-starts-tp16104032p16104032.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to