Hey Dave,

Yup just realized that. Thanks. I changed it to the following:
<s:url action="listUserAction" id="userlist" includeContext="false" />

I no longer have the double {project}s but unfortunately still have the same 
error with the include:

"The requested resource (/{project}/listUserAction.do) is not available."

Regards,
Paul

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 2:39 PM
To: Struts Users Mailing List;Paul
Subject: Re: Struts Tags Include?

--- Paul <[EMAIL PROTECTED]> wrote:
> In one of my JSPs I declare:  <s:url
> action="listUserAction" id="userlist"/>
>
> Shouldn't I then be able to include the output from
> the above via:
>
> <s:include value="%{userlist}"/> ?
>
> It keeps dumping "requested resource
> (/{project}/{project}/listUserAction.do) is not
> available".

I believe <s:include.../> adds the context name to the
url, hence the doubled {project}s.

Someone else will chime in, but in the meantime you
could, I suppose, just put the action URL in (with
.do, without context) and see if that works.

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



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

Reply via email to