----- Original Message ----- From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Friday, March 21, 2003 3:05 AM Subject: [5.0] [PROPOSAL] Extra web.xml to declare compiled JSPs
> Hi, > > It is not very convinient or easy to insert the declarations for > compiled JSPs into the webapp's web.xml file. It also has the > disadvantage of adding a lot of mess in the web.xml, which the user may > not like. > > For that reason, I propose that Tomcat parses a new (optional) XML file, > with the same DTD as web.xml, which would contain declarations identical > to web.xml, and which would be used for declaring the compiled JSPs. I > propose naming that file compiledjsp.xml. I think that parsing two web.xml files is plenty. There is no reason to add a third. Also, since it is possible to use Jasper with other containers, adding a non-standard feature like this makes that harder to do. > > An additional advantage is that it would allow Tomcat to precompile > webapps as they are deployed (otherwise, nasty XML manipulation is > needed to do that, and I think overwriting the originial web.xml during > deployment is bad). I agree with Costin here. It should be easy enough to read web.xml as DOM and save the changes. > > Maybe someone has a better solution for this problem. Any comments ? > > Remy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]