
can a method defined in the jsp scriptlet?

In JSP, methods can only be defined in JSP declarations like this:
<%!
public void hello(){
System.out.println("Hello");
}
%>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
