Results 1 to 2 of 2
  1. #1
    tommy is offline Member
    Join Date
    Jul 2007
    Rep Power

    Default how to debug the servlet

    I use the "system.out.println" even if it is very silly way

    Is there any good way to debug it?
    I mean I want to see the message that I use the "system.out.println"


  2. #2
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Rep Power


    What application server / web container do you use to run your servlet?

    What IDE / editor do you use?

    You need to figure out how to enable debugging support on your app server.

    Then, if you don't have one already, find an IDE that has a debugger. Eclipse is a free IDE that fits the bill. I don't use it myself, unfortunately, so I can't tell you how to use its debugger.

    Also, you need to make sure that you compile your servlet with debugging info: the -g option.

Similar Threads

  1. Servlet
    By banie in forum New To Java
    Replies: 6
    Last Post: 04-11-2008, 06:18 PM
  2. SciTE-debug 0.9.1
    By Java Tip in forum Java Software
    Replies: 0
    Last Post: 04-10-2008, 05:14 PM
  3. my first servlet
    By sireesha in forum Java Servlet
    Replies: 3
    Last Post: 04-09-2008, 04:11 PM
  4. Replies: 1
    Last Post: 08-07-2007, 04:47 PM
  5. how to debug java code in eclipse
    By rajesh058 in forum Advanced Java
    Replies: 3
    Last Post: 07-26-2007, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts