Hi Keshav,
 
Yes, the requirement is exactly as u said. But 1 query,
 
What will happen if user has switched off the javascript ? If nothing happens 
then also it is ok for me, Can i give some sort of msg that pls make javascript 
on - if it is off ?
 
regards
Manisha
 
 
 

Keshav Shetty <[EMAIL PROTECTED]> wrote:
Hi Manisha,
As I understood your requirement is
1. In first page you show teh search criteria. User enters all required 
input and press show report.
2. The form will be submitted action gets control and retrives required 
data and forwards to report jsp.
3. The final report page should come in a separate popup.
If above requirement is correct then you can use the following mechanism 
to control the flow.

1. In your criteria page you have a form (I guess) Instead of submitting 
the form write a javascript function to submit the form and define the 
target to popup window.
The javascript function may look like this.
function submitForm()
{
var winHand = 'someName';
var someWindow = window.open("actionPath",winHand,"menubar=no, 
toolbar=no,scrollbars=no,resizable=no,width=385,height=175,left=300,top=300"); 

document.formName.target= winHand;
document.formName.submit(); 
}

Please replace someName, formName and actionPath with your form values.

But the above technique will fail if the criteria form uses any validation.

Please write me if you need any additional info.

Thanks & regards
Keshav

Manisha Sathe wrote:

>Hi,
> 
>I am having a serach criteria, depending on that one report will be generated. 
>After Submit it is going to one Action handler and then going to JSP report 
>page. Currently i am displaying it in the same window. But if i want to 
>display result in new window then how can i achieve it ?
> 
>(I believe this sort of question posted just few days back, but i am not 
>finding it now....Anybody pls can repost it ? )
> 
>Thanks in advance,
> 
>Regards
>Manisha
>
> 
>
> 
>---------------------------------
>Do you Yahoo!?
> Yahoo! Search presents - Jib Jab's 'Second Term'
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to