jsp - Load the contents of popup(has a <s:form>) from struts2 action -


i have jsp page has popup (popup div in jsp). when click link in jsp want open popup form in popup being loaded values coming struts2 action.

i explored strust2-jquery plugin, didn't find solution this.

how can this.

please help.

i tried strust2-jquery , didn't work :

markettingdetails.jsp :

<p><sj:a id="link1" href="loadmdeditpopup.action" targets="market-info-new-popup1" >aig123 </sj:a></p>  

struts.xml:

<action name="loadmdeditpopup" class="com.marsh.pdcs.controller.markettingdetails"         method="loadmdeditpopup">                 <result name="success">/jsp/markettingdetails/marketinfodetailseditpopup.jsp</result>        </action> 

market-info-new-popup1 :

this div in markettingdetails.jsp , dispaly popup css styles.

<sj:link> give call struts2 action , result goes markettingdetails.jsp without opening popup


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -