And shouldn't your pattern be just *.jsp ?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Dain Sundstrom
> Sent: Wednesday, February 19, 2003 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] jetty filter question
> 
> 
> DTDs are very sensitive to order.  Look at the DTD and make sure your 
> elements are *in the exact same order* as listed in the DTD.
> 
> -dain
> 
> On Wednesday, February 19, 2003, at 03:58 PM, Frank Morton wrote:
> 
> > I would like to run a filter on every jsp with 3.0.6. I thought if I
> > put the following:
> >
> >      <filter>
> >           <filter-name>Tidy</filter-name>
> >           
> > <filter-class>com.base2inc.app.filter.FilterTidy</filter-class>
> >      </filter>
> >
> >      <filter-mapping>
> >           <filter-name>Tidy</filter-name>
> >           <url-pattern>/*.jsp</url-pattern>
> >      </filter-mapping>
> >
> > in the web.xml file for the application that it would run the Tidy 
> > filter on each page.
> >
> > When I do this, I get the message:
> >
> > org.jboss.deployment.DeploymentException: Element "web-app" does not
> > allow "filter" here.;
> >
> > Where is the right "here?"
> >
> > Thanks.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SlickEdit Inc. Develop 
> an edge. The 
> > most comprehensive and flexible code editor you can use. 
> Code faster. 
> > C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. 
> > www.slickedit.com/sourceforge 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SlickEdit Inc. Develop an 
> edge. The most comprehensive and flexible code editor you can 
> use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 
> 30-Day Trial. www.slickedit.com/sourceforge 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/j> boss-user
> 



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to