struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Cntr 805CSS/SCBE" <David.Durh...@scott.af.mil>
Subject RE: Forwarding a request to a particular point in a page
Date Wed, 29 Jan 2003 21:44:19 GMT
What if you made the call to the action something like   myAction.do#current?


-Dave

> -----Original Message-----
> From: Ramu, Manjukumar [PRDUS] [mailto:MRamu@prdus.jnj.com]
> Sent: Wednesday, January 29, 2003 3:30 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Forwarding a request to a particular point in a page
> 
> 
> Try to use onLoad javacript function in resultant HTML 
> page...I hope this
> will work...
> 
> Thanks,
> Manju
> 
> -----Original Message-----
> From: Jim Collins [mailto:james.collins@blueyonder.co.uk]
> Sent: Wednesday, January 29, 2003 3:11 PM
> To: Struts Users Mailing List
> Subject: Forwarding a request to a particular point in a page
> 
> 
> Hi,
> 
> In my Action class if everything goes well I forward the request to
> browse.jsp, this is set up in my struts-config file and I do this:
> mapping.findForward("success");
> 
> The browse.jsp file dynamically creates a large html file and 
> I would like
> the request to go to a particular point in the file.
> 
> For example if I had this html code:
> 
> <h1><a name="current">The current position</a></h1>
> 
> I could link straight to this point in the html file with:
> 
> <a href="my.html#current">
> 
> Does anyone now how I can setup my ActionForward to go to a 
> particular point
> in my browse.jsp page if I have set up a current anchor as I 
> did in the
> above html.
> 
> Thanks
> 
> Jim.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message