Hi!
   It seems that my question is diffuse, so may be for this question i
   receive answer: what will be happen when some declaration appears
   in default deployment descriptor and application deployment
   descriptor at the same time?

   Thanking you in anticipation
   

Tuesday, February 04, 2003, 7:58:09 PM, you wrote:

SG> Hello tomcat-user,

SG>       Could anybody explain me the way of processing deployment
SG>       descriptors (web.xml): one of them is default and placed in
SG>       /conf folder an another one is placed in /WEB-INF folder of my
SG>       application. I tryes to configure descriptor to process *.jsf
SG>       files (because it is a suggestion of JSP specification to
SG>       fragments of jsp).
SG>       Simple adding following lines

SG>         <servlet-mapping>
SG>                 <servlet-name>jsp</servlet-name>
SG>                 <url-pattern>*.jsp</url-pattern>
SG>         </servlet-mapping>
      
SG>       to the default web.xml works, but when i try to add these lines
SG>       to the application web.xml nothing is happened - simple adding text
SG>       of *.jsf file without compilation. What is a solution for my
SG>       task? It seems that application web.xml processed first of
SG>       all, then default web.xml. So during processing application
SG>       web.xml there is no any information about servlet with name
SG>       'jsp' (it will be declared later - in default web.xml) ?
SG>       Can i solve this problem - process *.jsf files without changing
SG>       default web.xml and what will be happen when i declare once
SG>       again servlet to process jsp pages in my application web.xml?

SG>       Thanks!

SG> Best regards,
SG>  Stas                          mailto:[EMAIL PROTECTED]



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




Best regards,
 Stas                            mailto:[EMAIL PROTECTED]



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

Reply via email to