This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Struts and the fly likes Open new window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Open new window" Watch "Open new window" New topic
Author

Open new window

Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
Hi,
I'm using <html:link page="abc.jsp"> tag to refer to abc.jsp page. My problem is I want it (abc.jsp) to open in new window. How should I do it?
Help is appreciated.
Thanks in advance
-PC
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8920

<html:link page="abc.jsp" target="_new">
http://jakarta.apache.org/struts/userGuide/struts-html.html#link


Groovy
Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
Thanks Pradeep,
I appreciate your quick response
-PC
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Open new window