Skip to Content
0
Former Member
May 14, 2008 at 09:34 AM

how to call jsp?

32 Views

Hi all,

I have two jsp file in my project test1.jsp and test2.jsp.

I listed some link in test1.jsp using htmlB link control. If I click that link it will go to the java file there some action will taken then that will set second jsp file as result.

Like this,

if(state==0)
{
this.setJspName("test1.jsp");
}
else
{
this.setJspName("test2.jsp");
}

I need to open the test2.jsp in new window.

I tried the

target=”_blank”

in link control also it not opening a new window.

Is this possible? Help me.

Helpful answers will appreciate.

Thanks in advance.

Regards,

Kathiresan R