wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 4167

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: 60800

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60800

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
jQuery in Action, 2nd edition
subject: servlet
Similar Threads
doPost() & doGet()
doubt in using weblogic
help please as to how to go about doing this
redirection to remote servlet
Compilation Problem in CHAP3 example