Re: Using web.xml to automatically redirect to error page on any error

2010-11-25 Thread ep
hi, u think the right way :-) how did you define your RemoteService methods? have you defined them to throw exceptions? GWT RPC works the way that it tries to forward (serialize) caught exception to the client, if it is able to. that means, that if you throw a NPE from your service

Re: Using web.xml to automatically redirect to error page on any error

2010-11-25 Thread Yaakov Chaikin
Hmm... Makes sense... For some reason, I thought I've gotten the browser to display the entire error page somehow, not the error page as part of the Ajax response. But you are right, it does make sense that even if the 'error-page' mechanism succeeds, it would make sense that the error page

Using web.xml to automatically redirect to error page on any error

2010-11-24 Thread Yaakov
Hi, I thought I have done this before with GWT... I have an RPC call to some resource. If something unforeseen (untested bug) happens during the RPC call in the server-side processing, I want to use the regular error-page mechanism to automatically redirect the browser to some standard error