--- Emmanuel JOKE <[EMAIL PROTECTED]> wrote:
> So far I've defined the following in strust.xml
> <action name="addCategory"
>    
class="com.ebespoke.web.admin.action.Categories">
>   <result>/admin/category.jsp</result>
> </action>
> 
> How can I define a some paremeter to pass to a
> Result page defined in Struts.xml ?

You don't need to; just expose the property via a
getter and use it in the JSP like a normal action
property.

If it was a redirecting result you might need to do
something like:

<result type="redirect-action">
  fooAction?cId=${cid}
</result>

assuming the action had a getCid method.

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