How to open a new browser window in struts

2001-10-04 Thread Yugandhar_Reddy
Hi, I am new to Struts. I am having a form where in the user can enter the search criteria and click the submit . We need to show the search results in a new window as popup. If I use actionMapping.findForward() in the perform method of Action class it shows the results in the same window.How

Re: How to open a new browser window in struts

2001-10-04 Thread Peter Alfors
You can set the target of the form to be a new window. The browser will then be responsible for loading the resulting page into a new window. HTH, Pete [EMAIL PROTECTED] wrote: Hi, I am new to Struts. I am having a form where in the user can enter the search criteria and click the

Re: How to open a new browser window in struts

2001-10-04 Thread Luis Olivares
In the form where you put your search criteria use the 'target' attribute. Something like: html:form action=/search target=_new In 'target' you are supposed to tell the form to which frame it will be forwarded, but if you set the target to a non-existent frame, it'll open a new