Results 1 to 4 of 4
  1. #1
    pelegk1 is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default creating war file in eclipse

    i have found this tutorial
    Java Tips - How to make WAR file in Eclipse
    which eplaind how to do it.
    but when i right click properties i dont have the Tomcat option.
    where can be the problem?can i configure it some where?
    Build id: 20100218-1602

  2. #2
    Vikas Thakur is offline Member
    Join Date
    May 2010
    Posts
    4
    Rep Power
    0

    Default

    If you are using eclipse 3.5 then goto window menu-> Preferences ->Server (on left side) -> Runtime Environment then click Add button then select the web server, which ever you want and click next -> browse the location of server.
    Now,
    Create Dynamic Web Project ,build it, right click on your project in Project Explorer, click Export->WAR file and browse the location where you want to create WAR file.
    Last edited by Vikas Thakur; 05-24-2010 at 05:40 AM.

  3. #3
    pelegk1 is offline Member
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Default i have added the Tomcat

    i found the war under export->web/war
    i have choosen that, but when i want to select a project from the drop down, it dosent appear there - any idea why?

  4. #4
    Vikas Thakur is offline Member
    Join Date
    May 2010
    Posts
    4
    Rep Power
    0

    Default

    The project which you have created may not be 'Dynamic Web Project'. Create new project as File->New->Other..->Web->Dynamic Web Project, then copy the code in that,build it and then Export to war file.

Similar Threads

  1. Creating .xml files in eclipse
    By lheebhee in forum Eclipse
    Replies: 1
    Last Post: 11-17-2009, 07:48 AM
  2. Error creating JDBC connection in Eclipse
    By tascoa in forum Eclipse
    Replies: 2
    Last Post: 11-06-2009, 11:20 AM
  3. Replies: 0
    Last Post: 05-28-2008, 11:36 AM

Posting Permissions

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