Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 572283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:35:49+00:00 2026-05-13T13:35:49+00:00

I have debug Java Desktop Applications various times in Netbeans but haven’t debug Java

  • 0

I have debug Java Desktop Applications various times in Netbeans but haven’t debug Java Web Application ever.

I tried to debug it the same way, but it’s not working.

I have made an index.html webpage. There is a “form” on that page. After a user submits the form, the request goes to a servlet (say serv1). The servlet has been called but it is showing unexpected results.

So to debug it, I put a breakpoint in the servlet class (serv1) and then debug the application.

But when I submitted the form, the control didn’t stop at the breakpoint. I am sure that the line at which the breakpoint is set is being called.

Is there any thing I am missing?

==================EDITED===================================================

Yes, I had started the server in debug mode. I am using Apache Tomcat 6.0.20

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:35:49+00:00Added an answer on May 13, 2026 at 1:35 pm

    How did you start your web application in debug mode? On my machine, I simply select the project, click on the Debug top menu, then Debug Project, select a Server (GlassFish, WebLogic, Tomcat) if required and things just work (I can place a breakpoint in a Servlet and the execution stops there). Tested with all the mentioned containers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java web application which I can debug using IntelliJ or Eclipse
Possible Duplicate: How can I debug applications under Java Web Start (JNLP)? I have
I am writing a desktop and j2me application. I have debug statements in program.
I have various Debug.WriteLine messages, I tried to see those messages using export MONO_DEBUG_LEVEL=debug,
I have a web application set up with MyBatis and Spring, but it doesn't
I have a Java Tomcat web application built in IntelliJ that calls code in
I have a Flex/Java web application that uses Maven as a build tool. Currently,
I would like to debug my Java application usually locally, but sometimes on a
I am creating breakpoints to debug my java application , and am using netbeans
I have a java class and I need to debug it (put breakpoints and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.