File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes debugging a java  web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "debugging a java  web application" Watch "debugging a java  web application" New topic

debugging a java web application

sheethal Kumar choppari

Joined: Jun 23, 2012
Posts: 17
i have an third party application which has lot of servlets and jsp . wanted to debug that by putting breakpoints.usually how de we know that , for particular request , the request is being processed by particular java classes and jsp , so that i can put breakpoints in respective files. i am thinking to go through the code , before setting the breakpoints to know where to put them. but i feel this is not efficient way to do( as it is a very big application). can you please suggest me if there is any better way to do this ?
thanks in advance
D. Ogranos
Ranch Hand

Joined: Feb 02, 2009
Posts: 214
Check the WEB-INF/web.xml file. It contains the mappings for requests to particular servlets (of course, the application might only have one dispatcher servlet, in which case web.xml won't be much help to you).
I agree. Here's the link:
subject: debugging a java web application
It's not a secret anymore!