File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
Servlet cannot be resolved.
Joined: Apr 04, 2006
May 20, 2006 00:37:00
Hi I am having a problem with Eclipse. When I try to code
and I import javax.servlet Eclipse says that it cannot be resolved. How can I get right. Thanks in advance.
Joined: Jan 23, 2002
May 20, 2006 04:51:00
You need to add a JAR file (one that contains javax.servlet.* stuff) to your project's classpath.
Effective Unit Testing
Joined: May 26, 2003
May 20, 2006 07:57:00
This would be the j2ee.jar or servlets.jar that comes with your application/web server.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Servlet cannot be resolved.
Porting application in JDK1.1 to JDK1.3
Error in program
The type javax.servlet.http.HttpServletRequest cannot be resolved. iIt is ndirectly referenced...
Working with SimpleDateFormat and DAte classes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014