Find the answer to your Linux question:
Results 1 to 5 of 5
hey everyone, i was wondering if there is a way to develop web applications in eclipse and then deploy them in tomcat using eclipse (without having to manually go into ...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    59

    Question tomcat and eclipse work together???

    hey everyone,

    i was wondering if there is a way to develop web applications in eclipse and then deploy them in tomcat using eclipse (without having to manually go into tomcat)???

    -and if so, how.....

    thanks

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    I generally export my web projects to a WAR file and just drop them in my "webapps" directory inside Tomcat. Tomcat picks them up.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    59
    how do you export the files as WAR?

  4. #4
    Just Joined!
    Join Date
    Aug 2006
    Posts
    59
    i was also wondering if there is something that i have to do within tomcat after i created a new folder within the webapps folder and setup a webpage...... i have created a simple index.html page but it is not recognizing it (i have also restarted tomcat but this doesnt seem to work)...

    i.e.,
    -i create example folder within the webapps folder
    - i than create a "hello world" index.html page inside the example folder
    -i then restart tomcat and go to http://localhost:8080/example/index.html and it tells me that it doesnt exist...... any ideas??

  5. #5
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by wickster View Post
    how do you export the files as WAR?
    I right click on the project at its root (very top of the tree and go to "Export". In the pop-up window I choose "WAR File" and go from there. Keep in mind though that I'm not sure if the process is exactly the same in regular Eclipse. I use IBM's commercial tool, Rational Software Architect, which has Eclipse as its core.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

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