What project type do I choose in eclipse for a spring mvc web app?


What project type in eclipse do I choose when I want a spring mvc web application? (i'm not using maven).

I want a layout where I can choose the folder names.

i want them to be similiar in layout to how spring's sample applications are setup (basic mvc, petclinic etc).

By : Blankman


You can use Spring IDE http://www.springsource.org/springide/release-20 to get help to create config files.

By : Satesh

I usually just go with Java Project, and build the rest of the structure myself. If I was building apps regularly, I'd skip past this, but building new apps infrequently, it strongly helps me re-familiarize with where everything is in that schema.

By : Dean J

You'd choose a standard web project and put the Spring JARS in the WEB-INF/lib. The Spring context XML would be loaded by the ContextLoaderListener, and the path would be declared in the web.xml.

By : duffymo

This video can help you solving your question :)
By: admin