Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet jar file problem--where will i get jar file

 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please help me out in finding servlet jar files
where will i get servelet jar files
[ August 02, 2008: Message edited by: karnakar ganji ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch. One of the first things you need to do is to Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Please go back and change your post to add a more meaningful subject by clicking the for that post.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What server will you be using as your servlet container? Tomcat? Resin? other?

The servlet (and JSP) jar files will be provided when you download and set up the server.
[ August 02, 2008: Message edited by: Bear Bibeault ]
 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes that is true but on ecplise when i write class for Action class then it is giving error

it is throwing error while compiling
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read my first response again and adjust the topic title to something more meaningful than "hiii". Thanks.
[ August 02, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once you have the jar files on your system, you simply need to let your IDE know where they are. Consult the IDE help or documentation to find out how to add jars to the project.
 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have installed tomcat 5.5 server
inside server folder i can see jar files but for servlet which jar we use
please just some ideas
this is the first time i am interacting through this forum
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64837
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
$TOMCAT_HOME/common/lib/servlet-api.jar

I'll move this to the IDEs forum where users of Eclipse can help you add the jar files to your project.
[ August 02, 2008: Message edited by: Bear Bibeault ]
 
yuvraj kotegar
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its easy dude... just right click on your project folder in IDE (say in eclipse).. click properties...you will get a window... in that java build path...in libraries.. you will have add external jars... choose that and browse through... you will get lib folder within tomcat folder found inside program files... inside lib is a jar file called servlet-api.jar.. add it..


good luck..
if you have doubt.. come back and ask..
 
karnakar ganji
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you very much
this is very good forum for java people

Thank you very much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic