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.
The moose likes Servlets and the fly likes JavaServlet-CLASSPATH problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "JavaServlet-CLASSPATH problem" Watch "JavaServlet-CLASSPATH problem" New topic
Author

JavaServlet-CLASSPATH problem

Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
I'm using jsdk2.1 on my Windows 98 PC.It's located in my root directory ie C:\ , I'm also using jdk1.3's javac for generating Servlet's class file. jdk1.3 doesn't require an explicit classpath setting in Win98 Envn.But at the time of compilation of simple .java file(which is servlet code)i'm getting unresolved symbol error-a definite sign of CLASSPATH error. How can i resolve this? I've put my servlet code in the c:\jsdk2.1 directory itself.
------------------
Ashutosh Sharma
---------------------
SCJP2.0


Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog : http://scea5-passingpart2and3.blogspot.com/
Swami nathan
Ranch Hand

Joined: Sep 30, 2000
Posts: 57
Ashutosh,
Your servlet program requires servlet.jar file.
Copy the servlet.jar file from JSDK and paste it in
C:\jdk1.3\jre\lib\ext.
regds.


SCJP, SCWCD, SCEA
Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
Thanks,
Swami Nathan. I will try it and then get back to you if reqd.
------------------
Ashutosh Sharma
---------------------
SCJP2.0
 
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
 
subject: JavaServlet-CLASSPATH problem
 
It's not a secret anymore!