You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by hns <ha...@yahoo.com> on 2008/05/03 09:55:43 UTC
Passing param
i am converting one mvc model1 jsp-java bean project into struts 2.0.11
now in old pattern i have menubar
and like
<li>
SelReport.jsp?rid=11&rname=sumbr&chtype=BRANCH&rlevel=SUMMARY-BRANCHWISE
BranchWise
</li>
<li>
SelReport.jsp?rid=12&rname=sumex&chtype=EXECUTIVE&rlevel=SUMMARY-EXECUTIVEWISE
Executive Wise </li>
now in struts
i have write something like this
in struts .xml
<action name="SelReport" class="utility.MenuAction">
<result name="success">/SelReport.jsp</result>
</action>
and on the menu.jsp
i am using yui
and write like this
<li class="yuimenuitem">
<s:url action= ">Test2
</li>
how can i use parameter in actions and how can i get value of this on
selreport.jsp
i am newbie to struts 2 and using 2.0.11
i dont have any idea to use parameter interceptor(read docs but can not get
properly)
please help me
--
View this message in context: http://www.nabble.com/Passing-param-tp17032642p17032642.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org