I am new to JSP and am trying to access an Oracle Database from JSP.  I have created a 
Bean with which to access the data, how do I get the results back from the Bean into 
the JSP?  I cannot find an equivocale method such as getWriter from the Servlets for a 
JSP.  I currently have split my class into three functions:

A) Connect to the Database - Connect to the Database
B) getDataRow - Fetches a row of data from the result set. This is called from the JSP 
until a bad return code (EOF) occurs
C) CloseDataConnection - After EOF, the JSP calls this function to close the result 
set and connection.

There has got to be a better way.  Any help/Advice will be appreciated.


Thank You
Dave Rigsby
The Longaberger Company
Web Team

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to