If you do that, the url will be printed on the html page. You can put it all together:
<a href="<s:url action="foo" id="fooUrl"/>" target="_blank">...</a> You can use a html anchor (<a href=....>), and use the s:url tag to provide the url. This is the way I usually code the links in my web applications. Regards. newton.dave wrote: > > ----- Original Message ---- >> From: niels <[EMAIL PROTECTED]> >> To: Struts Users Mailing List <user@struts.apache.org> >> Sent: Tuesday, January 29, 2008 8:00:16 AM >> Subject: Re: Where did the target attribute go in the a-tag? >> >> David, >> >> I don't understand what you mean by "anchor" >> imagine the next situation. > > > <s:url action="foo" id="fooUrl"/> > "<s:property value='#fooUrl' " target="_blank">... > > > Dave > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Where-did-the-target-attribute-go-in-the-a-tag--tp15156349p15160405.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]