File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet" Watch "servlet" New topic


rameshwar singh

Joined: Oct 10, 2008
Posts: 2
hi guys !
a simple servlet based web app isn't running on eclipse genymede
. whn i write import javax.servlet.*; or any othr related import statements den it shows me error 'THE IMPORT STATMNTS CAN'T B RESOLVD'.how 2 fix dis problm ? ?
Steve Luke

Joined: Jan 28, 2003
Posts: 4181

Find you server's servlet-api.jar, or j2ee.jar and include it in your IDE's build path.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "servlet" in a forum completely dedicated to questions on Servlets isn't very helpful.

Please go back and change your post to add a more meaningful subject by clicking the .

[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

Originally posted by rameshwar singh:
how 2 fix dis problm ? ?

Also, please use real words when posting to the forums. Abbreviations such as "2" in place of "to" and "dis" in place of "this" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

JavaRanch sheriff
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: servlet
It's not a secret anymore!