Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The following code works : <s:url id="genererRapportPDF" action="affichePDF" windowState="" /> <s:a href="%{genererRapportPDF}" onclick="javascript:window.open('%{genererRapportPDF}');">Generation</s:a> The problem is that it also calls the action / opens the link in the current window. How to avoid that ? Thanks.
- org.apache.struts2.dispatcher.FilterDispatcher... Hallgrímur Th . Björnsson
- Re: org.apache.struts2.dispatcher.FilterD... Lukasz Lenart
- RE: org.apache.struts2.dispatcher.Fil... Hallgrímur Th . Björnsson
- RE: org.apache.struts2.dispatcher... Hallgrímur Th . Björnsson
- [Struts 2.1.8] s:url : how to... Celinio Fernandes
- RE: [Struts 2.1.8] s:url... Gustavo Felisberto
- Re: [Struts 2.1.8] s... Robert Graf-Waczenski
- Re: [Struts 2.1.... Brian Thompson
- Re: [Struts 2.1.8] s:url... Brian Thompson
- Re: [Struts 2.1.8] s:url... Florin Cazacu
- Re: [Struts 2.1.8] s... Celinio Fernandes
- Re: org.apache.struts2.dispat... Wes Wannemacher
- RE: org.apache.struts2.d... Martin Gainty