Hi All,

I was wondering how (what syntax/how you call) you use for getValue in your
JSP.

My scenario is this:
Servlet takes parameters from an HTML form, talks to a database, and creates
a bean from the ResultSet.

Various JSPs throughout my app. are then to access this bean. (I am using
session with the servlet and the JSP)

I am having trouble accessing data from all JSPs other than the one
generated in the servlet.

I am little new to this stuff, so should I be forwarding info from the 1st
JSP to subsequent JSPs or something???


1st JSP
******************************************************
<jsp:useBean id="test" class="me.GmfDataBeanooo" scope="session" />
******************************************************
2nd JSP
******************************************************
<jsp:useBean id="test" class="me.GmfDataBeanooo" scope="session" />
<%
me.GmfDataBeanooo gdb = (me.GmfDataBeanooo)session.getValue("test");
%>
******************************************************
Thanks + Regards,
Kate
____________________________________________________________________________
________________________________________

IMPORTANT:  This email is intended only for the use of the individual or
entity named above and may contain information that is confidential and
privileged. The views expressed in this e-mail are those of the author and
not of the company unless otherwise clearly indicated.  When addressed to
our clients, any information or quotes contained in this e-mail are subject
to the terms and conditions relevant at that time to the matter being
addressed.  If you are not the intended recipient and have received this
e-mail in error, please notify us immediately by return email or telephone
+61 8 93235555 and delete the e-mail and any attachments without using or
disclosing the contents in any way.  If you are not the intended recipient
any dissemination, distribution or copying of this e-mail is strictly
prohibited. Before opening or using attachments, check them for viruses and
defects.  Our liability is limited to re-supplying any affected attachments.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to