• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

HttpServletRequest cannot be resolved  RSS feed

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I see a problem when create new servlet

I using Eclipse Helios ,JDK 1.6.0_25 .Please help me fix this err
 
author & internet detective
Posts: 39283
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nguyen,
Welcome to CodeRanch! Do you have a servlet.jar or jee.jar in the classpath of your Eclipse project? This jar comes with your server (Tomcat, JBoss, etc)
 
Nguyen Phuoc
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Nguyen,
Welcome to CodeRanch! Do you have a servlet.jar or jee.jar in the classpath of your Eclipse project? This jar comes with your server (Tomcat, JBoss, etc)


thank Jeanne
are you help me add file servlet.jar to classpath ?I begin using eclipse.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your Eclipse project, got to Project | Properties, select Java Build Path then click the Libraries tab. Then click Add JARs and browse to the location for the file within the Tomcat directory.

By the way, since you are new to Eclipse I highly recommend reading the help text (Help | Help Contents), especially the Workbench User Guide, Java Development User Guide and Web Tools Platform User Guide. Those topics should tell you almost everything you need to be productive with Eclipse.
 
Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!