Shapira, Yoav wrote:

Howdy,
A javax.servlet.Filter is one nice clean way.


Apologies if this is dumb q: Googling the jakarta site and reading the tomcat o'reilly have left me confused on this.

Isn't the filter part of web app? From jakarta:

Filters are configured in the deployment descriptor of a web application

And in o'reilly the filter and filter-mappnig tags are discussed in the web.xml section. Doesn't this raise a namespace issue? If your servlet-mapping is to /foo, then a filter on /* seems like it will either never fire, or else be ambiguous with other /* filters in other web apps (such as the /bar webapp, with it's own /* filter).


The original poster had a /hal context and a / context. Does the filter solution require the / context to remain? Or is that unneeded?

thanks for any unconfusion,
-joe





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



Reply via email to