How to call jsp method from another jsp page
Hi ALL,
I have two jsp files
jsp1 and jsp2
in jsp2 i have method name sample
<%
sample()
{
:
:
:
}
%>
i want this method to be called from jsp1 inside a if loop
jsp1
<%
int flag=1
if(flag==1)
{
I want the sample method of jsp2 to be called within if loop returns true
}
%>
Help me

