On Wed, 2002-04-03 at 10:22, Love, Jay wrote:
> OK, I'm picking this thread up in mid-stream, but what do you mean "move the
> awake-respond-sleep cycle to Servlet"?  How can a servlet call
> awake/respond/sleep on itself?  Are you saying add a "run" method to Servlet
> that then calls awake/respond/sleep, and Application would just call run and
> leave the rest up to the servlet?

Yes, that's what I mean.  It's not just for calling sleep, but also
throwing meaningful exceptions (like a PermissionDenied exception, a
LoginRequired exception, or a Redirect exception) -- I think an
exception is the right control structure, but it's awkward with the
current awake/respond/sleep.

Of course, PermissionDenied and LoginRequired won't be generic --
servlets will probably override these.  Which is why it would be nice if
it was easier to override these in Servlet instead of mucking in
Application.

  Ian



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to