This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, jswdk 1.0.1 How do i set up the class files so that i can compile Servlets. I mean I did try setting up the path and classpath and followed the installation instructions for the server JSWDK 1.0.1 the program complains about not finding javax.servlet and java.servlet packages when mentioned as import statements. How do I set up for proper compilation or any site for installation instructions. My autoexec.bat file has the path set up to jdk\lib\tools.jar Any other changes to be done. Thanks.
I copied servlet.jar to the %jdk%/jre/lib/ext directory, but my compiler still can't find java.servlet package, I noticed that in javax.servlet package has some classes very similar to the java.servlet package, can I use that in stead? Thanks Vivian
Joined: Mar 14, 2000
Well , This is what I did: I downloaded jsdk2.1 from sun's site: Just do nothing , other than changing your autoexec.bat to : set CLASSPATH=.;C;\JDK1.2.2\JRE\LIB\EXT; I did have the same problem with jswdk1.0.1 , as it complains to find java.servlet.* package with other errors. The above sol works. have fun!!!
I am able to start the server and stop it but when i write a helloworld program with it i get error saying httpservlet not found etc etc..... I downloded JSDK in NT and they ask me to set classpath variable. But there is nothing like it.ANd i am still able to work with jDK1.2.2 The only thing i have iS PATH where i have given C:\jdk1.2.2\bin They also talk about java_home what is this?? where should i put my tools.jar file In the PATH or should i create a env variable called CLASSPATH It is very sad to note that most of us have problems with this I think SUN must be more clear... Any one who has downloaded this please give me all the details of ur classpath and other changes u did.
Hi all, Here is the exact solution for ur all problems; you will have to add CLASSPATH in ur autoexec or environment tab what u r using. Simply these following three statements: c:jswdk-1.0.1\lib\jspengine.jar; c:jswdk-1.0.1\lib\servlet.jar; c:jswdk-1.0.1\lib\xml.jar; if u r using NT then go from start to settings then control panel. Form contrl panel double click on system. In System window select environment tab and then highlight the CLASSPATH varible and add these above statements at the end ur already set path. I think it will solve problems of every one If any one is still not on right track, then let me at ur earliest. bye
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com