Just finished my first ever Flex app (yay!) and deployed it to my tomcat server 
and it is behaving differently there compared to when I run it within the IDE.

During the execution the Flex app makes an HTTPService call which returns a 404 
if no data is found. My fault handler:

if (event.statusCode != 404)
   Alert.show("A problem occurred fetching the moderation history data: " + 
event.statusCode);

When run from within the IDE I get no alert, but when run from my tomcat server 
I get the alert and the status Code appears as "0", not even a 404. 

Can anyone suggest why this might be? Or any tips for debugging on the server? 
This is also my first attempt at a REST-ful application so maybe returning a 
404 to signify 'no data found' isn't the best thing to do?

Cheers

Paul

Reply via email to