At 10:02 AM -0800 2002/12/12, David Rothschadl wrote:
Here is the code in one of my frames that is not showing up when I check it in a browser. I can't even make the word Menu appear...Any ideas as to why it is not working?
Can you load the page itself correctly, outside of a frameset? I can't think of any reason it would behave differently in a frameset. You do sometimes have synchronization issues to consider when writing an app which uses frames, which is a very good argument against designing with frames.

Also, note that JSP taglib element names are case-sensitive. At the bottom you have </HTML:LINK> and </HTML:HTML>, which are not valid closing tags for <html:link> and <html:html>. I wouldn't be surprised if that's a big part of your problem.

Tiles is probably a better way to avoid duplicating navigation code between pages, unless you have a strict requirement that the navigation stay on screen when a user scrolls down. Better to design the application to have a minimum of scrolling, though. Frames are an eternal source of headaches in my experience.

Joe





<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html:html locale="true">

<head>

<html:base/>

<META name="GENERATOR" content="IBM WebSphere Studio">

<TITLE>Menu</TITLE>

</HEAD>

<BODY bgcolor="#ffffff">

<font face="Verdana" size="2">

&nbsp;&nbsp;&nbsp;&nbsp;

<FONT size="+2">

Menu

</FONT>

<BR>

<html:link forward="Main">

<bean:message key="Menu.Main"/>

</html:link>

<BR>

<BR>

<html:link forward="GeoZoneMaint">

<bean:message key="Menu.GeoZoneMaint"/>

</html:link>

<BR>

<BR>

<html:link forward="DomTransPointMaint">

<bean:message key="Menu.DomTransPointMaint"/>

</html:link>

<BR>

<BR>

<html:link forward="ForTransPointMaint">

<bean:message key="Menu.ForTransPointMaint"/>

</html:link>

<BR>

<BR>

<html:link forward="TransPointsRelMaint.jsp">

<bean:message key="Menu.TransPointsRelMaint.jsp"/>

</html:link>

<BR>

<BR>

<html:link forward="IDCDeptRelMaint.jsp">

<bean:message key="Menu.IDCDeptRelMaint.jsp"/>

</HTML:LINK>

</FONT>

</BODY>

</HTML:HTML>

David Rothschadl <[EMAIL PROTECTED]> wrote:
Hello,

Is there anybody who has used frames within the Struts framework? Our frame set-up, which worked fine in our non-Struts HTML pages, is not working with Struts. Any working examples would be greatly appreciated!

David Rothschadl

--
--
* Joe Germuska { [EMAIL PROTECTED] }
"It's pitiful, sometimes, if they've got it bad. Their eyes get glazed, they go white, their hands tremble.... As I watch them I often feel that a dope peddler is a gentleman compared with the man who sells records."
--Sam Goody, 1956

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to