Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Debugging in JDeveloper9.0.3

Posted on 2004-10-25
5
Medium Priority
?
218 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
Comment
Question by:chaitu chaitu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:petmagdy
ID: 12410141
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
ID: 12410575
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:
petmagdy earned 2000 total points
ID: 12410659
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
ID: 12410915
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
ID: 12410946
yes
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

598 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