简体   繁体   中英

Is there any way to debug a JSP Custom tag in Eclipse?

I am making some experiments with JSP, JSTL and the custom tags

Is there any way to debug a Custom Tag doTag() method in Eclipse, using the Debug perspective, breakpoints, etc?

Yes, this is regular Java code. Set your breakpoint in the Tag's Java source, start your Tomcat in debug mode, open your JSP and you're in.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM