Class and Methods in JSP Scriptlets?

Is it possible to declare functions or classes in a JSP scriptlets? If so, what would be the proper syntax in doing so?
[126 byte] By [DeltaSquadron2a] at [2007-11-27 5:11:18]
# 1

Use the exclamation mark.

<%!

public void doSomething() {

// Implement.

}

%>

Although rather use servlets or beans for business logic and use JSP for display only.

BalusCa at 2007-7-12 10:31:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...