if the link you are looking for is ...

http://10.48.142.7:8988/dcsi/logoff.do

try dropping off the dcsi prefix in the path="dcsi/logoff.do"

----- Original Message ----- 
From: "Duggal, Sanjay" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 8:49 AM
Subject: Link Tag


> Hi,
>
> I am using a custom link tag that extenjds the struts LinkTag.
>
> I am using the custom tag in my jsp in the following way:
> <dtag:dlink href="dcsi/logoff.do" showAlways="true">Logout</dtag:dlink>
>
> I have the following entry in my struts-config.xml file:
>     <action path="dcsi/logoff.do" type="com.dcsi.LogoffAction"
> roles="role1">
>       <forward name="logout" path="/login.jsp"/>
>     </action>
>
>
> However, the link that gets formed is:
> http://10.48.142.7:8988/dcsi/dcsi/logoff.do
>
> which is an invalid link.
>
> Can you please point out what I'm doing incorrectly here?
> What is the entry required in the struts-config.xml file?
>
> Thanks,
> Sanjay
>
>
>
> ____________________________________________________
> This message contains information that may be privileged or confidential
and
> is the property of the Cap Gemini Ernst & Young Group. It is intended only
> for the person to whom it is addressed. If you are not the intended
> recipient, you are not authorised to read, print, retain, copy,
disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete all
copies
> of this message.
>
> ---------------------------------------------------------------------
> 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