shakeel_code wrote:
Hi,

i have an html id in a jsp page <tr id="theId">....</tr>.

i have,
<forward name="thisisdjsp.jsp"/> in my struts config.xml

but i want to go directly to that id in the jsp page when the forward
happens.

i also tried,
<forward name="thisisdjsp.jsp" id="theId"/>
but it was of no help....

can anyone help me?

I'm not sure if I understand what you want... Do you mean you want clicking on a link to scroll the page to a particular anchor, as with a URL ending in #someID?

If so, that has nothing to do with Struts' <forward> config. HTML anchors are a client-side thing. They are defined in the HTML (usually with the 'anchor' (<a>) tag, though using an ID attribute on another element *might* work in XHTML). They are used by including the fragment identifier (#...) in a URL.

L.


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

Reply via email to