Ok. I will check this.. Anyway, with the s:a struts anchor, the url parameters are correctly passed.
thank u Laurie Harper wrote: > > Did you check the result of s:url? Either the URL was not constructed > correctly (the parameters weren't appended in the query string) or > something went wrong applying the parameters when the request was made. > > Determine where it failed, and that will tell you where to focus on > debugging further. > > L. > > Paranoid_Fabio wrote: >> 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 >>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/s%3Aa-and-result-in-new-window-tp17868608p17962653.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]