Link to home
Start Free TrialLog in
Avatar of SonyRaymond
SonyRaymond

asked on

Urgent! How to debug applet with servlet within WSAD 5.1.2?


Hi,

My boss assigns me to follow up an internet project, this project includes
an java applet and some servlets to make data calls to database. I have
tried to run the servlets in debug mode within WSAD 5.1.2 (I configured
Websphere 5.1 test server) and it is fine, I can step through each statements
in the servlets. But when I tried to run the java applet in debug mode and
the applet called the servlets to retrieve something,the applet was unable to
get the session ID (by sessionid()), I am not familiar with the WSAD before,
I don't know whether the applet debug process can attach to the servlet
debug server, or I suspect there are the two debug processes (two VMs)
running for applet and servlets separately?

If you can, please give me more details on running debug mode with
applet and servlet such that I can debug the source from applet to servlet and
vice versa.

Please give me some advice as I urgently need to know how to fix it.

Thanks for your kind attention and help,

Raymond
ASKER CERTIFIED SOLUTION
Avatar of mmuruganandam
mmuruganandam
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SonyRaymond
SonyRaymond

ASKER

Hi,

Do you have any coding sample? As our project has been written by many people, the coding is very compliciated to follow, it takes me time to extract that part from the project.

Thanks for your kind help,
probably any simple applet could help you in debugging!  As you are saying, it is complex application, you could try with a simple applet and servlet communication and learn the debugging.  I can't really do much as we don't have any way to see your application and run it!