This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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

jenny brad
Ranch Hand

Joined: Jun 24, 2006
Posts: 30
can I set up breakpoint in JSP pages? how?

thanks.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Jenny,
Eclipse doesn't support JSP out of the box. This means that the ability to set a breakpoint in a JSP is determined by the plugin you are using for JSP support. Which plugin are you using?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
jenny brad
Ranch Hand

Joined: Jun 24, 2006
Posts: 30
I guess I don't know. how do I find out?
Thanks.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Jenny,
When you edit the JSP, does it show in colors? If not, you aren't using a JSP plugin and definitely can't debug the JSP.

For plugins, did you install anything else besides Eclipse? For example, WTP, Lomboz, MyEclipse, JBoss IDE, Tomcat plugin...

Another way is to do help --> plugins and look for anything that could be the JSP plugin.
jenny brad
Ranch Hand

Joined: Jun 24, 2006
Posts: 30
I didn't install any plug-in except the Tomcat server.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Ok. Then you need to install a plugin in order to debug JSPs. Sysdeo is free. MyEclipse is not free, but easier to use.
jenny brad
Ranch Hand

Joined: Jun 24, 2006
Posts: 30
Is MyEclipse a plug-in to the Eclipse? So I can still use Eclipse as my IDE? Thanks.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Originally posted by jenny brad:
Is MyEclipse a plug-in to the Eclipse? So I can still use Eclipse as my IDE? Thanks.

Yes
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: debug jsp in eclipse
 
jQuery in Action, 3rd edition