Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weblog: Error Servlet Proposal #8

Open
GoogleCodeExporter opened this issue May 2, 2015 · 1 comment
Open

Weblog: Error Servlet Proposal #8

GoogleCodeExporter opened this issue May 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 28 Sep 2012 at 10:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant