I have a java class Enrollment which has a method enroll() which returns a String.
public class Enrollment {
public String enroll() { ...
}
}
I have another java class EnrollmentWF which has a method processEnrollment(); this method instantiates Enrollment class, call its enrollEmp method and get the return value as a string. After that I want it to call a JSP Test.jsp passing the string return value to the JSP. How can I do that?
public class EnrollmentWF {
public void processEnrollment() {
Enrollment enrollment = new Enrollment();
String returnValue = enrollment.enroll();
// now need to call Test.jsp
}
}
Thanks
Edited by: srhcan on Feb 28, 2013 8:00 AM