struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hns <hardik_...@yahoo.com>
Subject Passing param
Date Sat, 03 May 2008 07:55:43 GMT

 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


Mime
View raw message