This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

debugging a java web application

 
sheethal Kumar choppari
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic