Hi Brian, Thanks for your response! I tried to define a forward within the /selectTab action, but I still see a blank page. The new action mapping is below
<action path="/selectTab" type="com.phs.ezhr.presentation.action.MainMenuAction" validate="false" input="/Top.jsp" name="mainMenuForm" scope="request" > <forward name="success" path="/MainMenu.jsp" /> </action> Read the Struts archive, it seems that using tiles/template is a better choice than calling in action in the frame src attribute. Also, it would be much appreciated if some one can share a sample code and configuration on how to develop tabs functionality with frame and tiles. I'm going through tiles-documentation tutorial. The layout that we have for our application is below Top frame: Tab labels Middle frame: content body Bottom frame: other data and footer. Thanks! Tuan -----Original Message----- From: Brian DeLuca [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 1:28 PM To: [EMAIL PROTECTED] Subject: RE: Using Frameset within Struts - displayed a blank page Interesting. Never tried calling in action in a SRC attribute. Seems like it works since you are getting a blank page, and not a HTTP: 404 error ( Page not found ). When I see blank white pages it is usually a problem with your forwards. I don't see a forward defined in the selectTab action definition in the Struts-config file. Is it a Global forward? is it misspelled in your code? Keeping in mind that the input attribute doesn't get checked for forwards, that is used for validation. hth b- --- On Mon 10/07, Tuan H. Le wrote: From: Tuan H. Le [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Mon, 7 Oct 2002 12:08:44 -0700 Subject: Using Frameset within Struts - displayed a blank page > I have searched through the struts archive, but couldn't find a solution to > my problem below. > > if I specified , it found and > displayed the Top.jsp fine. > id="top" frameborder="0" scrolling="no" > noresize marginwidth="0" marginheight="0" > framespacing="0"> > However, after I changed to , > then it displayed a blank page in the top frame. > > Do you know what I'm missing? > > Thanks in advance > Tuan > > Here are my settings and code. > > ---- struts-config.xml (a partial file) ------ > > type="com.phs.ezhr.presentation.form.LoginForm" /> > type="com.phs.ezhr.presentation.form.MainMenuForm" /> > > > > type="com.phs.ezhr.presentation.action.MainMenuAction" > validate="false" > input="/Top.jsp" > name="mainMenuForm" > scope="request" > > > > > ---- MainMenu.jsp ----- > > > prefix="html" %> > prefix="bean" %> > > > > > > /> > > > framespacing="0"> > id="top" frameborder="0" scrolling="no" > noresize marginwidth="0" marginheight="0" > framespacing="0"> > > marginwidth="0" marginheight="0" > scrolling="yes" frameborder="0" noresize > framespacing="0"> > marginwidth="10" marginheight="10" > scrolling="no" frameborder="0" noresize > framespacing="0"> > > id="btm" frameborder="0" scrolling="no" > marginwidth="0" marginheight="0" noresize > framespacing="0"> > > > > > > > ---- Top.jsp ----- > > > prefix="html" %> > prefix="bean" %> > prefix="logic" %> > > > > Transitional//EN"> > > href="stylesheets/styleTop.css"> > > > /> > > > // get the passed in request parameter > String value = request.getParameter( IConstants.USER_SEL_TAB_KEY ); > // set the request attribute to be used within the JSP > tag > request.setAttribute( IConstants.USER_SEL_TAB_KEY, value ); > %> > > name="mainMenuForm" > type="com.phs.ezhr.presentation.form.MainMenuForm" > method="POST"> > cellspacing="0" cellpadding="0"> > > > > > > > > > > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > ------------------------------------------------ Changed your e-mail? Keep your contacts! Use this free e-mail change of address service from Return Path. Register now! -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>