File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "servlets" Watch "servlets" New topic


Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278
i wrote a basic servlet program using NetBeans IDE ,but it cant import servlet package.
What should i do .
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63841

Step 1.
Step 2.
[ September 18, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
Abhinav Srivastava
Ranch Hand

Joined: Nov 19, 2002
Posts: 354

My best guess is that you haven't added J2EE libraries to the classpath/build-path or whatever it is called in NetBeans. e.g. if you are using weblogic, those are found in weblogic.jar

PS: I guess this topic could be more appropriate for IDE forums.
I agree. Here's the link:
subject: servlets
It's not a secret anymore!