Thank you Balwinder and Patil! For all those who are as stupid as I am the solution is very simple:
<form action="URL2StrutsAction.do" onsubmit='open("", "outputWindow", "menubar=false, toolbar=false");' target="outputWindow"> Martin > -----Ursprüngliche Nachricht----- > Von: Balwinder [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 20. September 2006 14:04 > An: Struts Users Mailing List > Betreff: Re: AW: Action output in new window without menu/toolbar > > > Martin Kindler wrote: > > >Thanks, > >but how do I use it with a form? > > > >I have in my html-code > ><form action="URL2StrutsAction.do" target="_blank"> > > > >Martin > > > > > > > >>-----Ursprüngliche Nachricht----- > >>Von: Balwinder [mailto:[EMAIL PROTECTED] > >>Gesendet: Mittwoch, 20. September 2006 13:17 > >>An: Struts Users Mailing List > >>Betreff: Re: Action output in new window without menu/toolbar > >> > >> > >>Martin Kindler wrote: > >> > >> > >> > >>>Hi > >>> > >>>I am using Struts 1.2.x and try to achieve the following: > >>>on a page I have a form whose action calls a Struts action. > >>> > >>> > >>The result > >> > >> > >>>shall be displayed in a new window. No problem so far. > But: The new > >>>window should have no menu- and toolbar. > >>> > >>>Is this possible? and if, how? > >>> > >>>Martin > >>> > >>> > >>>----------------------------------------------------------- > ---------- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >>> > >>> > >>Hi, > >> > >>Use javascript function, > >>window.open(URL,windowName,"menubar=no,toolbar=no");. > >> > >>Happy coding!! > >>Balwinder Kumar > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > If iam getting your problem in a right way then you might be calling > this action on some event (ie on submit of some form or > clicking on some > view link or so). > > On that very event call javascript and use this code. > > Happy Coding!! > Balwinder > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]