It's not a secret anymore!*
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: 860

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: 5812
    
    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
 
wood burning stoves
 
subject: Debug JSP in eclipse
 
Similar Threads
Using Eclipse
put together in eclipse
Eclipse: ssh plugin ?
Traverse DOS/UNIX diretories - print members
Problem in execution of web application in Tomcat from Eclipse Europa