<form name="formName" action="/someStrutsAction" method="post" target="_top"> </form>
http://www.w3.org/MarkUp/ robert > -----Original Message----- > From: sanjeev_dutt [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 6:36 AM > To: Struts Users Mailing List > Subject: RE: How sturts open a new window page ? > > > Hi Robert, > > Could you please explain how to use this 'target' attribute with > an example. > > T & R > Sanjeev > > -----Original Message----- > From: Robert Taylor [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 3:59 PM > To: Struts Users Mailing List > Subject: RE: How sturts open a new window page ? > > > If you want to have the result of processing the action displayed in a > different browser window than > the one in which the user submitted the form, define a target attribute in > the HTML form element. > When the use submits the processing request, a new browser window > will open > and the results will be > displayed there. > > You are describing client side functionality. Struts is a server side > framework and therefore > cannot directly open a browser window. > > HTH, > > robert > > > -----Original Message----- > > From: joel [mailto:[EMAIL PROTECTED]] > > Sent: Monday, July 22, 2002 1:55 AM > > To: [EMAIL PROTECTED] > > Subject: How sturts open a new window page ? > > > > > > Hi All: > > I wonder how struts process opener page,for example : > > when I submit <input type="submit" name="EDIT"> > > I want actionservlet can open a new window but not this window to > > process actions. > > How can struts do it ? > > Or I need to use the old way that by javascript ? > > > > thanks all > > joe > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

