you could define a method using a
jsp declaration
<%!
MyReturnType myMethod(MyParam1 param1, ...) {
... some code
}
%>
but even though this is scripting, this is not exactly a scriptlet but a jsp declaration. The method will be placed within the compiled jsp class, outside of your _jsp_service() method.
If you would put a method inside a scriptlet, it would be placed inside the _jsp_service() method upon jsp translation, so the
Java compiler would complain about placing a method inside a method.
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA