Re: Difference between ClientSideRedirectException and InterruptDispatchException

彭 明 <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
hi,Diez
  Both of the IDE and the CSRE will ignore the unhandled events in the 
queue.But the IDE is still in the original request-response cycle and the 
CSRE is in an NEW r-r cycle.Is that right?


>It depends on what you want to do then - if you want to clear the 
>EventQueue and simply pass the event flow to the login-event, you 
>can use InterruptDispatchException. However, what we did in this 
>case was to persist the initial request (which is IMHO somehow 
>supported by barracuda itself, but I don't remember that in detail 
>right now) and the throw a ClientSideRedirectException (CSRE) to the 
>loginscreen. When the use is actually logged in, we throw a CSRE 
>again to get into the originating event flow.
>
>Diez
>
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda

_________________________________________________________________
涓虹杩琛浜ゆ锛璇蜂娇 MSN Messenger:  http://messenger.msn.com/cn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.