Is there a tag to import these new xml file in my web.xml?

> ----------
> De:   Rodrigo Ruiz[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      terça-feira, 9 de dezembro de 2003 14:14
> Para:         Tomcat Users List
> Assunto:      Re: JSP doubt
> 
> Edson Alves Pereira wrote:
> 
> >     Hello folks, i made a war file and i compiled my JSP pages and
> >create a jar file with then. My question is, do i still need to put
> inside
> >my webapp ( in my case war file, but is the same ) all JSP files anyway?
> >Because tomcat complain about them.
> >
> >     Regards,
> >     Edson
> >
> >  
> >
> Hi Edson, when you compile your JSPs, you are creating a set of servlet 
> classes.
> 
> Tomcat needs a mapping between the servlet classes and the paths they 
> will serve, so you need to explicitly tell Tomcat to use your index_jsp 
> servlet class when it receives a request for index.jsp. If you do not 
> include this mapping, Tomcat will search for the jsp file, and complain 
> when it does not found it.
> 
> If you do JSP precompilation through the JspC ant task, I think there is 
> an option to tell it to create a web.xml fragment containing the extra 
> tags you need to include in your web.xml file.
> 
> Regards,
> Rodrigo Ruiz
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to