With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
The Grade of the Solution
The Zone Rank of the Expert Providing the Solution
The Number of Author and Expert Comments
The Number of Experts Contributing
The Feedback of the Community
Your Input Matters Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.
If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.
I have Eclipse 3.3 set up with Tomcat 6 & Java EE 5 sdk for developing web apps. I have a rather large web project I have imported into Eclipse and it runs just fine on the localhost tomcat server. The problem I am having is when I try to use the debugger.
I put a breakpoint in one of my JSP files.
I right clicked on the server and selected Debug as/Debug on server
This starts it in debug mode, but I have to manually switch over to the Debug perspective since it doesn't do that for me.
If I open the built in browser in eclipse, I am able to use the web interface, log into my application, navigate around, reach my jsp page with the breakpoint.
The jsp page with the breakpoint begins to load and then at the appropriate point the code file for the jsp page opens at the breakpoint.
My problem comes when I use "step over" to finish moving through the rest of the page. Once I reach the end of the page, I expected the web page to appear, displaying all of the code I'd stepped through in the JSP page. Instead I am given the error message below in a file called HttpJspBase.class that pops up.
Maybe I didn't understand how the debugger was supposed to work with web apps, but I thought I could continue navigating through the program to track veriables throughout. Is this just supposed to happen this way, or is something set up wrong?
Thanks, Courtenay
PS. I tried attaching the jasper.jat file I found in my tomcat lib directory, but that didn't make a difference, I just got other errors like this, but looking for other files. Again, the app works fine outside of debugger mode, so maybe it's just the way it's supposed to react - seems weird though!
Error message:
Class File Editor Source not found The jar file jasper.jar has no source attachment You can attach the source by clicking attach below: (Button to click & Attach)
// Compiled from HttpJspBase.java (version 1.5 : 49.0, super bit) public abstract class org.apache.jasper.runtime.HttpJspBase extends javax.servlet.http.HttpServlet implements javax.servlet.jsp.HttpJspPage {