> I have this JSP: > <% private class Something{} > > %> > > this get's rejected by Jasper. > Is there any reason why? Someone recommended the syntax <%! [[decl]] %> Remember that all such declarations are embedded in the servlet class that is generated for you. The upshot: your Something class will be an "inner class". -Bryan
- declaring a class in JSP romain
- Re: declaring a class in JSP Thomas Schreiner
- RE: declaring a class in JSP Dave Newton
- RE: declaring a class in JSP Bryan Basham
- RE: declaring a class in JSP Randy Layman