Solved

Debugging in JDeveloper9.0.3

Posted on 2004-10-25
217 Views
Last Modified: 2010-03-31
hi

i am using jdeveloper 9.0.3;i want to use debug option in IDE;to work with debugging i have to compile all EJB classes,servlets and jsp successfully ;i am compiling EJB class and servlets successfully but i am getting errors while compiling jsp's because in some of jsp's we r using some jar files for page tracking and some other jar files;these jsp's not able to locate these jars;i put these jars in Libraries of Project settings iN IDE ;
0
Question by:chaitu chaitu
    5 Comments
     
    LVL 13

    Expert Comment

    by:petmagdy
    yes open the Project containing ur JSP, on the project node right menu and choose properties and then in the left tree choose (common --> Dependencies) on the right pan select ur EJB project check box to be a dependecy of ur web module project
    0
     
    LVL 20

    Author Comment

    by:chaitu chaitu
    when i login into the application first index.jsp will call the servlet and servlet will call EJB;

    i want to trace the code in the servlet using step into and step over options;
    0
     
    LVL 13

    Accepted Solution

    by:
    put a break point into the Servlet u want to debug and then go to ur JSP file in ur Web Project pan and right click and call "Debug", the JSP will run into the browser and then when execute the Servlet the program will stop at ur break point and u can use F8, F7 to step over and into
    0
     
    LVL 20

    Author Comment

    by:chaitu chaitu
    thanks for ur reply

    our servlet goes into EJB file ;if i put break point in ejb ;will it go there
    0
     
    LVL 13

    Expert Comment

    by:petmagdy
    yes
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now