tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Paul" <>
Subject Use of return statement in servlet.
Date Fri, 31 Oct 2003 05:01:28 GMT
  If any one feel it off topic mark it as off topic.
  I want to exit from a servlet if no database connection is available. For
this can I use a return statement in the beginning of a servlet. Will it
cause any state problems. I dont like putting the code in an if block. There
will be lots of if blocks.

Antony Paul

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message