File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes How to debug Spring MVC Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to debug Spring MVC Application" Watch "How to debug Spring MVC Application" New topic
Author

How to debug Spring MVC Application

Anupam Dee
Ranch Hand

Joined: Oct 18, 2010
Posts: 42

How can we debug Spring Application or Spring MVC Application?
I have commons-logging.jar. But don't know how to use it?
Or is there any other alternative to step through to debug my application by setting breakpoints.

I am using Spring Tool Suite.
Please help.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1632
    
    7

STS is built on Eclipse so the debugger works the same way. You can see this tutorial for an overview

http://www.vogella.com/articles/EclipseDebugging/article.html

The main difference is you may not be running a java application but rather a web app. To start TC-server click the 'Start the server in debug mode' button. It looks like a bug and is right next to the green play button in the servers tab in the lower left corner of the screen.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to debug Spring MVC Application
 
Similar Threads
css in spring MVC
struts2 Vs spring mvc
How to create session attribute once the session is established in Spring MVC?
Spring book recomandation
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?