varkon
asked on
Find the filename of the current, active JSP
Is there a name to get the name of the current JSP? I'm asking if there is a similar method like PHP's $_SERVER['PHP_SELF'] which will return the filename of the current php page.
<%=request.getServletPath( )%>
ASKER
bloodredsun that will give me the page, jsp or servlet but with some path information as well...is there a way (by using a method or some sort of manipulation) to get that without any slashes, dots or path info in general?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent! Thank you very much!
No probs, glad to help :-)