Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debug JSP in eclipse

 
abhijitg ga
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic