Mattias,
If you mean, have I done:
<%!
public class myInner
{
...
}
%>
within a JSP page, the answer is an emphatic YES. And it works just fine.
My SQLExplorer.jsp page works this way, declaring a local bean to handle the
database connection. And, yes, if I change the JSP source, the classes are
recompiled and reloaded.
--- Noel