This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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

Yes
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: debug jsp in eclipse
 
Similar Threads
WA #1.....word association
Struts: No getter method for property name problem
creating a pop up calendar within a form
what is defalut value of Custom tag body-content
pop up page