Generally after developing a dynamic web project in eclipse we get the application structure as "src" "webcontent".
But there is another structure of web applications. Can anyone provide me an insight as to how that structure
of a web application is achieved.
Images in the attachments.
I strongly advise you to follow the Standard Directory Structure (-link) as proposed by Apache in their maven project. Although it was initially introduced for the maven projects , but I have seen a lot of people follow it because of its standardized and easy to follow directory hierarchy.
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Joined: Jun 19, 2008
Thanks for the reply. So if I build by project with maven I will get the same directory structure?
shivang sarawagi wrote:Thanks for the reply. So if I build by project with maven I will get the same directory structure?
You have two choices, either make changes in your current directory structure to the standard directory structure , or (if you want to use maven as your build tool ) make use of the Maven archetypes. These archetypes are basically skeleton project structures that can be downloaded are ready to use . You will see that the whole of the directory structure is already set up in these archetypes.