Hi,

I have tried to ask this question before, but I have to ask it again. I’m using Visual Caf� and a MS Access DB as a local testenvironment for servlets on my PC.

Everything was working fine until I needed to use the setAttribute() method in the ServletContext class. I understood that the problem was that this method was added to ServletContext when jsdk.jar became servlet.jar.

When I put servlet.jar in the classpath in the sc.ini – file instead of jsdk.jar i am able to compile my servlets but I can’t run them.

In Visual Caf� everything seems to work fine and when I choose to execute the servlets and I receive the following normal lines:

-executing VM for running sun.servlet.http.HttpServer.class...

-Loading browser for running servlet....

-Browser for running servlet successfully loaded.

-VM for running sun.servlet.http.HttpServer.class successfully loaded

The DOS-window flashes up for a tenth of a second and then shuts down a browser is also opened to show the output from the servlet, but it doesn’t get any answer . Does anybody know what is happening here, if you do please help me!

Reply via email to