It is working in Flex 2, JBoss/tomcat
Thanks!

--- In [email protected], "Carson Hager" <[EMAIL PROTECTED]> 
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:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
> 
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Carson Hager
> Sent: Saturday, July 15, 2006 10:15 AM
> To: [email protected]
> 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:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
>  
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of ting_first
> Sent: Saturday, July 15, 2006 7:20 AM
> To: [email protected]
> 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
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to