struts2 - is there way to make "target = _blank " in defining results in struts.xml? -


i have following code in struts.xml , want result "success" in new page, there way handle in struts.xml?

<action name="deleteaccount" class = "com.sample.accountmaintenanceaction" method="deleteaccount" > <result name="success">/message.jsp</result> <result name="input" >/accountmaintenance.jsp</result> <result name="error">/accountmaintenance.jsp</result> </action> 

no; can't open new window server side.

nor seem reasonable if you're trying display response message: seems it'd better make ajax request , process either json or html response.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -