can anyone help me with this please? Thanks.

From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: user@struts.apache.org
Subject: change URL in action?
Date: Fri, 19 May 2006 13:40:54 -0400

<c:url value="/DispatchAction.do" var="addUrl">
           <c:param name="method" value="add"/>
</c:url>
<html:link href="${addUrl}" transaction="true">
       <fmt:message key="lbl.addlink" bundle="${appbundle}"/>
</html:link>

have the above code in jsp. when the user cliks on the link, and when the action method is executing want to change the URL to

.......PrepareAction.do instead of having the url as

.....PrepareAction.do?method="add"&TOKEN=.......


Is it possible to do this? if so how do the same?

I tried putting

private ActionFoward add(........) {
....................
....................
       request.getRequestURL();
       return mapping.findForward("successAdd");

}

but still URL was the same as before.

Thanks.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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

Reply via email to