Thank you for the reply.
I tried your solution and the action is invoked..the problem is that,using
the standard html anchor, the parameters are not passed to my action.


Paranoid_Fabio wrote:
> 
> Hello. What I want to do is a very simple thing, but I can't find a
> solution. 
> I call an action from a jsp page, and I want to display the resulting jsp
> page in a new browser window.
> I've already read about target="_blank", target="_new" etc... but I can't
> use them because I can't use the simple html anchor.
> In fact, I know I can do things like:
> 
> 
> 
> a href="<s:url action="myAction"/>" target="_blank" 
> 
> it works, but the problem is that I've to pass some parameters to the
> action. Even if I do:
> 
> <s:url id="actionURL" action="myAction" >
>                 <s:param name="param1"><s:property value="param1"/></s:param>
>                  <s:param name="param2"><s:property
> value="param2"/></s:param>
> </s:url>
> 
> and then:
> 
> a href="#" onclick=window.open('${actionURL}') /
> 
> it works, but still the parameters are not passed to the action.
> How can I do that? Call my action with all the parameters and display
> result in a new window??
> 
> thank you very much
> 
> 

-- 
View this message in context: 
http://www.nabble.com/s%3Aa-and-result-in-new-window-tp17868608p17961379.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to