| Author |
Servlet cannot be resolved.
|
Khatmal Khatmal
Greenhorn
Joined: Apr 04, 2006
Posts: 4
|
|
Hi I am having a problem with Eclipse. When I try to code servlets and I import javax.servlet Eclipse says that it cannot be resolved. How can I get right. Thanks in advance. Khatmal
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
You need to add a JAR file (one that contains javax.servlet.* stuff) to your project's classpath.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26141
|
|
|
This would be the j2ee.jar or servlets.jar that comes with your application/web server.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Servlet cannot be resolved.
|
|
|