Debugging Servlets
795398Jan 5 2009 — edited Jan 6 2009Hi 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