views:

36

answers:

3

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).

+1  A: 

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.

Dean J
+1  A: 

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.

duffymo
In the new project wizard, I see 'web/static web project' and 'web/dynamic web project' is that what you are referring to?
Blankman
I'm not sure - I don't use Eclipse. (I find IntelliJ to be far superior.) I'd look in the help to see what the difference is. My guess would be "web/dynamic web project".
duffymo
A: 

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

Satesh
Or, better yet, the SpringSource ToolSuite
skaffman