Debug 2 servlets at the same time please help!!!!

I am using JDeveloper 3.1 and trying to Debug 2 servlets at the same time. I can debug either servlet individually, but I cannot seem to call Servlet 2 from Servlet1 while debugging. I keep getting Web-to-go cannot find URL. What am I doing wrong.
Whenever I run a servlet in the debugger, the url shows: http://<myserver>/servlets/servlet regardless of the name of the servlet.
How do I debug 2 servlets at the same time.

Hi,
It depends on how you call the second servlet from the first. You want to make sure to use a relative URL.
For example, if both of your compiled servlet classes are in JDEV_HOME\myclasses\ServletProject, then make sure to call servlet2 from servlet1 directly. If servlet2 is in JDEV_HOME\myclasses\OtherServlets, then you want to use '..\OtherServlets\servlet2'
I'm not sure why it resolves the url to servlets\servlet for everything.

Similar Messages

Maybe you are looking for