This is a follow-up on an earlier thread on killing a servlet at startup. To recap., this is best done by throwing a suitable exception in its init method, as per ยง2.3.2.1 of the servlet spec.
But what if the webapp has several servlets and you want to abort (or undo) the loading of the whole collection if any of the members fail to load: is there already an accepted best practice for that? I note that unlike the servlet the web app is not reified in the API (AFAICT): the ServletContext is in web app scope but it *is* not a webapp (or is it?). Thus it doesn't look like you can control a web app as directly as you can control a servlet. Thanks again, -- O.L. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org