okay some wrong key i pressed! so to continue: on body onload
<body <c:if test="${true /*or whatever*/}"> onload="location.hash='newBlock'"; </c:if> > does the trick for me! ATTA ----- Original Message ----- From: "atta-ur rehman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 09, 2004 11:28 AM Subject: Re: # anchor > Hello Glenn, > > I've used a little javascript to the trick; though i'm sure there must be > some better way of doing it: > > have an anchor in your jsp: > > <A NAME="newBlock"></A> > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, July 09, 2004 10:55 AM > Subject: # anchor > > > > Hi, > > > > This is what I have defined: > > > > <action path="/Page" type="PageAction" parameter="/WEB-INF/page.jsp" > > name="pageForm" scope="request" validate="false"> > > <forward name="pageForm" path="/WEB-INF/page.jsp"> > > </forward> > > </action> > > > > <action path="/PageSubmit" type="pageSubmitAction" name="pageForm" > > scope="request" validate="true" input="/Page.do"> > > <forward name="cancel" path="/Reports.do" redirect="true" > > contextRelative="false"> > > </forward> > > <forward name="submit" redirect="false" contextRelative="true" > > path="/Page.do"> > > </forward> > > <forward name="printerVersion" path="/WEB-INF/pagePrintableVersion.jsp" > > contextRelative="false"> > > </forward> > > </action> > > > > What happens is that the Page.do allows a user to enter report parameters. > > The PageSubmit.do builds the report and then returns the report to the > > Page.do. > > Once here, the user has the report parameters at the top and the report > > under the parameters. > > > > However, the user would like to have the page move down a little so the > > that the report section is more apparent. > > I have tried to use the # anchor but keep getting page not found... > > > > Any help is appreciated! > > Glenn > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]