How can you define methods in a JSP file?
Created May 4, 2012
John Zukowski You declare methods by using the JSP Declaration syntax, as specified at http://java.sun.com/products/jsp/tags/11/syntaxref11.fm3.html:
<%! declaration; [ declaration; ]+ ... %>The declaration could be variables or methods, or both.