ServletContext.getRequestDispatcher("myjsp.jsp").forward(ServletRequest, ServletResponse)  can't do this with your resultset though 'cause result sets aren't serializable....you'll need to implement your own serializable result set that pulls the values out, then store them in the session object...want any more info, just email [EMAIL PROTECTED]

>From: "k savvy" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Help! Servlets and JSP
>Date: Mon, 26 Feb 2001 07:01:57 -0000
>MIME-Version: 1.0
>X-Originating-IP: [63.28.72.109]
>Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP id MHotMailBC634ACC00504004311940D02A290F990; Sun Feb 25 23:03:41 2001
>Received: (qmail 83222 invoked by uid 500); 26 Feb 2001 07:02:16 -0000
>Received: (qmail 83213 invoked from network); 26 Feb 2001 07:02:15 -0000
>From tomcat-dev-return-18076-adamjenkins Sun Feb 25 23:04:51 2001
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>X-OriginalArrivalTime: 26 Feb 2001 07:01:57.0425 (UTC) FILETIME=[021C3A10:01C09FC2]
>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
>
>Hi, Guys - Can anyone tell me what's the best way to pass values
>from
>servlets to JSP? I have a serlvets that connect to the database and
>retrieve the values using JDBC. Now I need to pass the values to a
>JSP page
>to display on the browser. What's the best way to implement it? Do
>I need
>to store the resultset into a Bean for JSP? What about the looping
>inside
>the resultset? Any input is greatly appreciated.
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>


Get your FREE download of MSN Explorer at http://explorer.msn.com

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to