> -----Original Message----- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Monday, April 16, 2007 3:20 PM > To: Struts Users Mailing List > Subject: Re: Struts in Servlet 2.4 > > Tim-- > > I dont understand why looping would help when your webserver > cant find a page whicgh is misconfigured or missing??? > > The only reference I could see for Contact was located at > <forward name="Contact" path="/content/address.jsp" > redirect="false"/>
It's running only the "/index" action. That forwards to the CESHome global forward (I don't know whay they made that one global) which resolves to index.jsp. Index.jsp invokes homeHeader.jsp to put our standard header before the meat of the page. Here's homeHeader.jsp: <%@ page language="java" import="gov.bls.idcf.ces.struts.ContactFormBean" %> <%@ page session="false"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <head> <title><%=request.getParameter("title")%></title> <meta name="ROBOTS" content="none,noindex,nofollow"> <meta http-equiv="Content-Language" content="en-US"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Expires" content="Sat, 01 Jan 2000 23:59:00 GMT"> <meta http-equiv="PRAGMA" content="NO-CACHE"> <meta name="Description" content="<%=request.getParameter("pgDesc")%>"> <meta name="Keywords" content="<%=request.getParameter("pgKey")%>"> <link href="mailto:[EMAIL PROTECTED]"> <link rel="stylesheet" href="/CES/images/all.css" TYPE="text/css"> <link rel="stylesheet" href="/CES/images/print.css" media="print" type="text/css" /> </head> <script type="text/javascript"> function help_window(url) { window.open(url,'Help','width=600,height=425,toolbar=no,location=no,dire ctories=no, status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=no'); } function contact_window(url,title,ret) { window.open(url,title,"width=600,height=565,toolbar=no,location=no,direc tories=no, status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=yes"); if(ret=="false") { return false; } } </script> <body marginwidth="0" marginheight="0"> <div id="hbanner" title="Banner"><img src="/CES/images/1ptrans.gif" alt="[spacer]" width="1" height="63" hspace="0" vspace="0" border="0"></div> <div id="tmenu" title="Top Menu"> <% Enumeration atts = request.getSession().getAttributeNames(); while (atts.hasMoreElements()) { System.out.println("homeHeader.jsp: session: " + (String)atts.nextElement()); } ContactFormBean cfb = (ContactFormBean)request.getSession().getAttribute("Contact"); System.out.println("homeHeader.jsp: solno: " + cfb.getSolicitationNumber()); %> <html:link href="/CES/contactForm.do" paramId="solicitationNumber" paramName="Contact" paramProperty="solicitationNumber" styleClass="menu" title="Respondent Information" onClick="Javascript:return contact_window(this, 'Contact','false')"> Update Respondent Information</html:link> | <a name="Help" id="Help" href="javascript:help_window('/CES/help/cesindex.jsp','Help','true')" class="menu" title="Help">Help</a> | <a name="Logout" id="Logout" href="/CES/content/exitSurvey.jsp?target=http://www.bls.gov/idcf/logout. htm" class="menu" title="Logout">Logout</a> </div> <div id="hmain" title="Body of Document"> I've added the "import" at the top and the Java code between the <% %> tags to verify that Contact is there and that it contains the right thing. It is and it does. But the <html:link> tag just below the java code can't find it. -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]