Is there a way to get which JSP is currently rendered, with JSTL or Struts (or without)? like _ _ file _ _ in Python and PHP?
This is a simple copy-paste solution:
<%=this.getClass().getSimpleName().replaceFirst("_jsp","")%>