Re: How to open a page in new window with s:a or s:url tag?

2008-04-15 Thread Mohiit
I myself found the solution. To open link in the new window, do as it is mentioned below. s:url id='abc' action='xyz'/s:url s:a href='#' onclick=javascript:window,open('%{abc}');test/s:a this is working for me. I hope this solution can help you guys also. =) Mohiit wrote: I am using Struts

Re: How to open a page in new window with s:a or s:url tag?

2008-04-10 Thread Laurie Harper
Mohiit wrote: I am using Struts 2. I want to open the page in the new window when I click on an icon. I am using s:a tag and giving action by s:url tag. i.e., s:url id='abc' action='xyz',/s:url s:a href='%{abc}'/s:a This way it is opening an action in same page. I want it in the new

How to open a page in new window with s:a or s:url tag?

2008-04-09 Thread Mohiit
I am using Struts 2. I want to open the page in the new window when I click on an icon. I am using s:a tag and giving action by s:url tag. i.e., s:url id='abc' action='xyz',/s:url s:a href='%{abc}'/s:a This way it is opening an action in same page. I want it in the new window like in HTML