tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Query on <url-pattern> element of web.xml file ??
Date Tue, 16 Sep 2003 12:49:55 GMT

Howdy,
Senor Wingfield pointed you at the right (and definitive) resource on
this already.  I just wanted to mention this EXACT question (complete
with the /*.jsp mapping) has been asked on the list before, so you can
search the archives if you'd like.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Bikash Paul [mailto:bikashpaul_2001@yahoo.com]
>Sent: Tuesday, September 16, 2003 7:05 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Query on <url-pattern> element of web.xml file ??
>
>Hi all friends,
>
>If my web application's web.xml file contains this:
>
><filter-mapping>
><filter-name>Test Filter</filter-name>
><url-pattern>/*.jsp</url-pattern>
></filter-mapping>
>
>then the filter doesn't run when I invoke a JSP in the
>application's top-level directory.
>
>If I change the url-pattern to this:
>
><url-pattern>*.jsp</url-pattern>
>
>then the filter does run.
>
>Can any one please explain it why it is not working
>with /*.jsp.Iam little bit confused about
><url-pattern> element of web.xml file.Can any one plz
>give me some tutorial link for this element so that I
>can clear my concept from there coz Iam also confused
>about <url-pattern> element in case of
><servlet-mapping>.Any help will be highly appreciated.
>
>Regards
>Bikash
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message