Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Debugging Servlets

795398Jan 5 2009 — edited Jan 6 2009
Hi all, I don't know how to debug my servlets. At the moment I am writting the code and then testing with the browser. This is painful as I am use to debugging and stepping through my code.

I have created a main.java file with a call to the servlet; however when I call this I don't seam to call the doPost/doGet methods? Also there are no valid "HttpServletRequest request, HttpServletResponse response" to grab data from.

Once you have stopped laughting can you please help me out. Developing code this was is taking far to long.

PS I have google but everything comes up with Unit testing. Unit testing is only come once you have the code written :)
Ta
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2009
Added on Jan 5 2009
7 comments
260 views