|
Which servlet engine are you using? Maybe you need to add the path where servlet.jar resides to the classpath variable in your servlet engines properties file?. For almost all servlet engines there is a properties file. -----Original Message-----
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!
|
Title: RE: Please help...
- Please help... Carl Troedsson
- G.Betul Akin
