How to end a JSP

2002-05-15 Thread Adam Pfeiffer
If you have a try/catch block in a jsp and you catch an error that is know to cause the page not to function, how can you gracefully skip the rest of the jsp page and print an error message. For example, in the below code pictureBrowserBean.parseAlbums(); is going to throw a null pointer

Re: How to end a JSP

2002-05-15 Thread TMotte
: Subject: How to end a JSP 05/15/2002 01:11 PM

RE: How to end a JSP

2002-05-15 Thread James Mitchell
Try this. System.exit(0); That works for me ;) JM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 4:34 PM To: Tomcat Users List Subject: Re: How to end a JSP Since nobody else answered, not sure but I would think

RE: How to end a JSP

2002-05-15 Thread James Mitchell
no-flames that was a joke /no-flames JM -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 4:37 PM To: Tomcat Users List Subject: RE: How to end a JSP Try this. System.exit(0); That works for me ;) JM -Original

RE: How to end a JSP

2002-05-15 Thread Richard Bailey
To: Tomcat Users List Subject: Re: How to end a JSP Since nobody else answered, not sure but I would think a simple return; as placed would do what you want. troy Adam Pfeiffer adamcpfeiffer@y To: [EMAIL PROTECTED

RE: How to end a JSP

2002-05-15 Thread Adam Pfeiffer
Subject: RE: How to end a JSP Try this. System.exit(0); That works for me ;) JM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 4:34 PM To: Tomcat Users List Subject: Re: How to end a JSP

Re: How to end a JSP

2002-05-15 Thread Nikola Milutinovic
- Original Message - From: Adam Pfeiffer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 8:11 PM Subject: How to end a JSP If you have a try/catch block in a jsp and you catch an error that is know to cause the page not to function, how can you