I want to debug my struts2 application.
How to show the current view (jsp page location with name) of current action in my eclipse console ?
Have you tried
System.err.println(this.getClass().getName());
?
-- sorry I just can't comment by myself (yet) --
I want to know the jsp view page location and it's file name – lovespring
That's exactly what you get:
if you invoke what i wrote, you'll get (eg in example.jsp)
org.apache.jsp.<Folder>.example_jsp
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.