How can you define methods in a JSP file?

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.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.