There's an anchor attribute


<html:link page="/action.do" anchor="foo">

renders as

<a href="/context/action.do#foo">

Its not like there's not documentation one this.

http://jakarta.apache.org/struts/userGuide/struts-html.html#link


On Tuesday, September 2, 2003, at 09:58 AM, Firat TIRYAKI wrote:


if it works out for you, you can use javascript;

"document.location.hash" gives you the anchor you specified.

F.

----- Original Message -----
From: "Marius Oancea" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 02, 2003 10:55 AM
Subject: How to get the url containing anchor from request


My action is called with a url like : http://site/context/action.do#ANCHOR

The question is how to get the complete url from request in a way that I
can see the ANCHOR part too.
I tried getServletPath(), getPathInfo() .... but no success.


Any ideea ?

Is that not possible ?

Thanx
    Marius

--
"Why program by hand in five days what you can spend five years of your
life automating." - Terence Parr



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



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



Reply via email to