• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using IBM visual age to write servlets.Can anyone tell
me how to use the servlet package in the class.
In My program if i give
import javax.servlet.*
import javax.servlet.http.*;
I get error as javax package error.what should i do?
Thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
avn:
Place a copy of servlet.jar in c:\jdk...\jre\lib\ext folder. The jar file is in lib folder of your server installation (tomcat, etc.). This should fix it.
RM
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As also ointed by R Muttam .
You can also set the classpath . Set the classpath which should also include the jar files(if reqd).
e.g:set classpath=%classpath%;c:\jsdk2.0\lib;c:\jsdk2.0\lib\jsdk.jar;
Please verify your exact path.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks! for the reply.I know that by setting the
classpath for the suns JDK , the problem will be solved.
But my problem, i am using IBM visual age and from here
how i can set the classpath, i cant type set classpath...
I hope i am clear in explaining my problem.
Thanks!

[This message has been edited by avn (edited September 08, 2000).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic