• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsdk2.1 and Jws 2.0 Compiling & cp problem

 
Majid Khan
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sub : Compiling servlets using jsdk2.1 & jws2.0

whilst compiling the tut says make the cp env pt to the jar file
c:\jsdk2.1\lib\jsdk.jar or

or copy jar file into ext dir of jre
I cant locate any lib dir or jsdk.jar in jsdk2.1
the only jar files are server.jar & servlet.jar
Should i use jsdk2.2
I keep getting symbol not resolved err whilst compiling > import & Httpservlet
where do i keep my servlet bef & after compiltion
what are the var options using Jws
any one got thro this ??
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
servlet.jar is the one you want. Add that to your classpath, or place it in your jre/lib/ext directory.
 
Majid Khan
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frank !
I tried putting the servlet.jar in the cp , i not sure it worked ?
I got around it by putting the .java in the same folder as the javax files and then comiling it
I will try the other option
Any more options ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic