Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, Please someone help me to integrate tomcat6(built in with fedora 11) with eclipse galileo . I want to execute servlet with it and ultimately a dynamic web project. The ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    11

    [SOLVED] inegrating tomcat web server with eclipse galileo on Fedora 11

    Hello,
    Please someone help me to integrate tomcat6(built in with fedora 11) with eclipse galileo . I want to execute servlet with it and ultimately a dynamic web project.
    The servlet when executed shows the following error
    import javax.servlet cannot be resolved

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need to have the servlet API jar in the classpath

  3. #3
    Just Joined!
    Join Date
    Feb 2010
    Posts
    11
    Thank you coopstah13 .I have servlet-api.jar in lib as well as ext directory.I am sorry but will you please tell me how to do that ?

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    right click the project and go to build path then configure build path and under libraries you have to add the jar

  5. #5
    Just Joined!
    Join Date
    Feb 2010
    Posts
    11
    Thank you again. It worked magically !!!!!!!.There is problem while running servlet as a server application because I could not find the installation directory for tomcat server .
    Last edited by gokulvadje; 02-21-2010 at 09:55 PM. Reason: Grammatical mistake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...