tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: How to end a JSP
Date Wed, 15 May 2002 20:38:22 GMT
<no-flames>
that was a joke
</no-flames>

JM

> -----Original Message-----
> From: James Mitchell [mailto:jmitchtx@telocity.com]
> 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 Message-----
> > From: TMotte@s-s-t.com [mailto:TMotte@s-s-t.com]
> > 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 a simple
> "return;"
> > as placed would do what you want.
> > troy
> >
> >
> >
> >
> >
> >                       Adam Pfeiffer
> >
> >                       <adamcpfeiffer@y         To:
> > tomcat-user@jakarta.apache.org
> >                       ahoo.com>                cc:
> >
> >                                                Subject: How to
> > end a JSP
>
> >               05/15/2002 01:11
> >
> >                       PM
> >
> >                       Please respond
> >
> >                       to "Tomcat Users
> >
> >                       List"
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > <%@page contentType="text/html"%>
> > <html>
> > <head><title>JSP Page</title></head>
> > <body>
> >
> > <%@ page import="java.io.*" %>
> > <%@ page import="java.util.*" %>
> >
> > <jsp:useBean id="pictureBrowserBean" scope="session" class
> > ="mada.trips.PictureBrowserBean" />
> >
> > <%
> > //pictureBrowserBean.setBaseDir(getServletConfig().getServletContext
> > ().getRealPath("/"));
> > pictureBrowserBean.setBaseDir("");
> > pictureBrowserBean.setAlbumDir("images/");
> > try {
> >    pictureBrowserBean.parseAlbums();
> > }
> > catch (NullPointerException e) {
> >    out.println(e.toString());
> >    return; // HERE
> > }
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message