aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Developing servlets using Eclipse 3.3.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Developing servlets using Eclipse 3.3.2" Watch "Developing servlets using Eclipse 3.3.2" New topic
Author

Developing servlets using Eclipse 3.3.2

Mainak Moitra Moitra
Greenhorn

Joined: Jan 24, 2009
Posts: 2
I am trying to develop Servlets using Eclipse 3.3.2 but i can not recognise the httpservlet class itself. I have to add the servlet-api.jar file but do not know how to do it. I have the jar file in the Tomcat application server i am using. just help me out how to add the Servlet-api.jar in the eclipse.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Just integrate Tomcat in Eclipse through servers view. Then associate it with your dynamic web project. This way Eclipse will take the API's automagically in the build path.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30749
    
156

Did you know we have a forum specifically for IDE questions? I'll move this for you. Don't worry - the link will still work from the original forum.

[edited to fix typo]


[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
Mainak Moitra Moitra
Greenhorn

Joined: Jan 24, 2009
Posts: 2
Thanks a lot for the help. But i solved the problem physically adding the library file into dynamic web project
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Associate it with your dynamic web project. This way Eclipse will take the API's automagically in the build path.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Mainak Moitra Moitra wrote:Thanks a lot for the help. But i solved the problem physically adding the library file into dynamic web project

This is a workaround, not a solution. Too bad.

Just associate the appserver with your webproject. On create of the webproject, select the integrated appserver from the list. Or in the properties of an existing webproject, select the integrated appserver from the list. That's all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Developing servlets using Eclipse 3.3.2