how to get the name of a JSP file inside the same JSP

Does somebody know how to get the name of a JSP file inside the same JSP?

File example1.jsp

<% String myFileName = ? %>

<H1><%= myFileName %></H1>

<!-- myFileName shoulsreturn example1.jsp -->

thanks!

[301 byte] By [JLuisa] at [2007-11-26 15:15:22]
# 1
String myFileName = request.getRequestURL().substring(request.getRequestURL().lastIndexOf("/")+1);or with javascript <H1><script>document.write(document.location.href.substring(document.location.href.lastIndexOf("/")+1))</script></H1>bye! :)
leoncinaa at 2007-7-8 9:07:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thank you very much for the rapid response.(The ausence of a convenience built-in method to do this is a little bit strange)
JLuisa at 2007-7-8 9:07:04 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...