struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Collins" <james.coll...@blueyonder.co.uk>
Subject Re: Forwarding a request to a particular point in a page
Date Wed, 29 Jan 2003 22:26:16 GMT
Hi Dave,

I am not sure if that would work. It might work if I have my forward set up
to browse.jsp#current. I will try that but I would also like to be able to
dynamically add the #current bit.

Jim

----- Original Message -----
From: "Durham David Cntr 805CSS/SCBE" <David.Durham1@scott.af.mil>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, January 29, 2003 9:44 PM
Subject: RE: Forwarding a request to a particular point in a page


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



---------------------------------------------------------------------
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