i have two jsp file and one for get the user input and other for print the result.. i have a class file called getdata.java.. how should i access that class when user input something and print the result in result page...
/// getdata.java when user click button it redirect to result page..
< form action="Result.jsp" method="post">
< input type="text" name="textname" />
< input type="submit" name="submit" value="Search"/> remove
//// class file
public class On_Classes {
public void printData() { .... }
}
/// result page
how could i do this::::