A possible error handling flow:
Regular flow:
servletA ----(guardX)---->servletB
if the guardX fails, we could deviate the flow like that:
servletA---->(guadX:fail)--->error-handler(next_page =
servletB)------>[servletA with some error message || some other servlet - e.g.
login servlet]------->servletB(by getting next_page)
guardX :
if check1 fails
invoke error-handling-servlet (to page)
error-handling-servlet(to_page)
set-cookie(next-page = to_page)
invoke some other servlet
or
just go back to servletA with some msg
Original issue reported on code.google.com by roxydan...@gmail.com on 28 Sep 2012 at 10:34
Original issue reported on code.google.com by
roxydan...@gmail.com
on 28 Sep 2012 at 10:34