It is working in Flex 2, JBoss/tomcat
Thanks!
--- In [EMAIL PROTECTED]ups.com,
"Carson Hager" <carson.hager@...>
wrote:
>
> It's a
little more work than a simple filter. It requires a filter
and
> an
HttpServletResponseWrapper. I've included a simple version here
>
along with the web.xml file config you will need in order to use
it.
You
> might want to consider changing the scope of the filter. I'll leave
that
> up to you. As always, no warranties...use at your own
risk, etc.
>
>
> <filter>
>
<filter-name>FlashHttpStatusCodeFilter</filter-name>
>
<description></description>
>
>
<filter-
class>com.cynergysystems.filter.FlashHttpStatusCodeFilter</filte
>
r-class>
> <init-param>
>
<param-name>debug</param-name>
>
<param-value>false</param-value>
>
</init-param>
> </filter>
>
>
<filter-mapping>
>
<filter-name>FlashHttpStatusCodeFilter</filter-name>
>
<url-pattern>/*</url-pattern>
>
</filter-mapping>
>
> This should work on any J2EE server. I
have only tested it on
Tomcat.
>
>
> Carson
>
____________________________________________
>
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
<http://www.cynergysystems.com/>
>
> Email: carson.hager@...
> Office:
866-CYNERGY
> Mobile: 1.703.489.6466
>
>
>
>
________________________________
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Carson Hager
> Sent: Saturday, July 15, 2006 10:15
AM
> To: [EMAIL PROTECTED]ups.com
>
Subject: RE: [flexcoders] Re: ACcess SOAP fault code
>
>
>
> The easiest way to do this is to create a simple filter and change
the
> status only when the requester is the Flash Player.
>
>
> Carson
>
>
____________________________________________
>
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
<http://www.cynergysystems.com/>
>
> Email: carson.hager@...
> Office:
866-CYNERGY
> Mobile: 1.703.489.6466
>
>
>
________________________________
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of ting_first
> Sent: Saturday, July 15, 2006 7:20
AM
> To: [EMAIL PROTECTED]ups.com
>
Subject: [flexcoders] Re: ACcess SOAP fault code
>
>
>
> Does somebody know how to swap HTTP error code (from 500 to 200)
in
> JBoss/Tomcat?
> Thanks in advance
>
>
Ting
>