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:
<s:url action= " 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:
#
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
Maybe it's just me, but your message seems to have gotten garbled. Make
sure you are sending plain text (not HTML) formatted mail. That said,
the general solution is to use s:url to build the URL, then a standard
HTML anchor tag to render it:
<s:url id="url" .../>
<a href="<s:property value="%{url}" target="...">...</a>
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]