File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Debug JSP in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Debug JSP in eclipse" Watch "Debug JSP in eclipse" New topic

Debug JSP in eclipse

abhijitg ga

Joined: Mar 01, 2012
Posts: 9
Hello ,

I have eclipse 3.7.2 , when I create a Java project and link the src_web folder, eclipse does not allow me to put breakpoints in JSP files. HOweever it does allow me to put break points in Java files?

What could be the reason for this ?

William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

JSP becomes Java when first invoked.

The native java files end up in some temp folder in your application server.

I was able to this this at one time, however.

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Did you create a Java project, or a Dynamic Web Project? If you create the later, you should be able to set breakpoints in JSP files. (By the way, I hope that you don't have server-side script in your JSP...)

JBoss In Action
I agree. Here's the link:
subject: Debug JSP in eclipse
It's not a secret anymore!