In Eclipse (version 2021-09) I would like to use the sysout template in the scriptlet area of a JSP page.
So, in my JSP editor I have:
...
<%
...
[cursor here]
...
%>
...
When I now type sysout
how can I make it expand to System.out.println("[cursor here]");
?
I tried a new JSP template like this:
But it does not work inside the scriplet tags.
PS: I saw the question sysout in JSP eclipse - Stack Overflow, but the answers do not cover the case inside the scriptlet tags.