Below is my java code:
package employees;
public class showString{
public String setSection(){
String myStr = "Hello";
return myStr ;
}
};
How do i call setSection()
method in my jsp page using JSTL? I've tried several methods but none of them worked.
I've already checked this page How to avoid Java Code in JSP-Files? but don't understand how to call my method on the jsp file
This will be a great help. Thanks