It's a bit clearer, I've found some help for filters with Tomcat.
As far as I understand, I'll write a filter class, and add that to the
web.xml

But should I apply it in Tomcats web.xml here:
$TOMCAT_ROOT$/conf/web.xml
or Axis web.xml here:
$TOMCAT_ROOT$/webapps/axis/WEB-INF/web.xml


Anne Thomas Manes wrote:
> 
> "Filter" generally refers to a Servlet filter. It gets invoked before
> the HTTP request is passed to Axis. "Handler" refers to either an Axis
> handler or a JAX-RPC handler.
> 
> Anne
> 
> On 8/17/06, jansson <[EMAIL PROTECTED]> wrote:
>>
>>
>> Short question.
>> Using a filter to filter out a certain request, is that the same as using
>> a
>> custom handler?
>> Are Filters and Handlers the same thing??
>> Or what is a filter?? Where/How do I define a filter?
>>
>> I've found pretty much help on using Handlers, but very little about
>> filters.
>>
>> I need to catch a HTTP post without an envelope (empty HTTP body, HTTP
>> header Content-Length: 0) before axis throws the "SAXParseException:
>> Premature end of file" back to the client.
>> --
>> View this message in context:
>> http://www.nabble.com/Handler-vs.-Filter-tf2119971.html#a5846757
>> Sent from the Axis - User forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Handler-vs.-Filter-tf2119971.html#a5852049
Sent from the Axis - User forum at Nabble.com.


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

Reply via email to