GeeCON Prague 2014*
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
Author

Debug JSP in eclipse

abhijitg ga
Greenhorn

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 ?

-
adg
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.

WP
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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
 
GeeCON Prague 2014
 
subject: Debug JSP in eclipse