Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Unhappy want to change the default directory structure of web application in eclipse

    In Eclipse, the folder structure when I create a Dynamic Web Project is

    .: build src WebContent

    ./build: classes

    ./build/classes:

    ./src:

    ./WebContent: index.html META-INF scripts WEB-INF

    ./WebContent/META-INF: MANIFEST.MF

    ./WebContent/scripts: jquery-1.7.1.js

    ./WebContent/WEB-INF: lib web.xml

    ./WebContent/WEB-INF/lib:

    As you can see, there is WebContent directory containg web-inf and other files, if I moved all the directories and files of WebContent directory a level above, it does not work, what to do to run the index.html in eclipse

    -> the directory structure after moving all the directories and files of WebContent directory a level above:

    .: build index.html META-INF scripts src WEB-INF

    ./build: classes

    ./build/classes:

    ./META-INF: MANIFEST.MF

    ./scripts: jquery-1.7.1.js

    ./src:

    ./WEB-INF: lib web.xml

    ./WEB-INF/lib:

    So, now I need just go to "http://localhost:8080/Sample" and should go to index.html properly what path changes need to be done to make it run?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: want to change the default directory structure of web application in eclipse

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,123
    Rep Power
    20

    Default Re: want to change the default directory structure of web application in eclipse

    What do you mean by "using Eclipse"?
    What application server are you using?
    That is where this is deployed (or does Eclipse have a built-in one these days?).
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. XML containing directory structure of root folder
    By Kshitij_25 in forum New To Java
    Replies: 4
    Last Post: 12-21-2012, 06:20 AM
  2. Zip Directory Structure
    By freestatedon in forum New To Java
    Replies: 2
    Last Post: 02-15-2010, 07:11 AM
  3. Directory Structure
    By rummy in forum New To Java
    Replies: 1
    Last Post: 01-21-2010, 01:03 PM

Tags for this Thread

Posting Permissions

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