struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <>
Subject Re: s:url does not render url properly
Date Mon, 02 Jun 2008 15:47:48 GMT
the use namespace="/user" in the url tag

On Mon, Jun 2, 2008 at 11:41 AM, Struts Two <> wrote:
> I have the following code snippet in my jsp:
>       <s:url action="goToRegistration" namespace="user" id="registerUrl">
>        <s:param name="user.cnum" value="<s:property vaue='cnum'/>"/>
>       </s:url>
>       <a href="<s:property value='#registerUrl'/>">Register</a>
> The page url were the code is rendered is ....localhost:9445/ccol/ticket/newTicketOwnerList.action
where "ccol" is the context root. When I click on the link the page goes to the following
url  ...localhost:9445/ccol/ticket/user/goToRegistration.action which is wrong. I want the
url go to the following url:
> ...localhost:9445/ccol/user/goToRegistration.action, that is to say I want to have user
namespace and action appended to the context rool. Any ideas what I am doing wrong.
> thanx,
>      __________________________________________________________________
> Connect with friends from any web browser - no download required. Try the new Yahoo!
Canada Messenger for the Web BETA at

"Hey you! Would you help me to carry the stone?" Pink Floyd

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message