And how can I make it work?
<%
class thing {
public String doit () {
return "doing it";
}
}
request.setAttribute ("thing", new thing ());
%>
<body>
${requestScope.thing.doit ()}
</body>
I don't have the freedom to create a separate compiled class. It must be inline.
Thanks.