I'm creating a java bean inside my servlet and storing it on the request
using the setAttribute command.
If my servlet then forwards my request onto a simple jsp page
(DefineGroups.jsp) I can access then bean without a problem using:
<jsp:useBean id="viewBuilder"
class="com.gs.fw.pl.ebs.page.views.CustomViewBuilder" scope="request"/>
If, instead, my servlet forward the request onto a jsp page which is nothing
but a frameset:
<html>
<head><title>Define Groups</title></head>
<frameset rows="100%, 0%" border=0 frameborder="no">
<frame src="DefineGroups.jsp" name="definer">
<frame name="storer">
</frameset>
</html>
my attempt to access the bean in DefineGroups.jsp doesn't find the bean I
stored in the request, but instead creates a new, blank bean.
What is the correct way to do this if I'd like to use frames?
Is there a correct way?
Thanks.
-mike
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets