-
Jan 25th, 2008, 11:08 AM
#1
Spring MVC + Eclipse
I was trying to ceate a project using Spring MVC in eclipse3.2, with debug functionality. I am clueless as how to create one such.
Can any one help me in this regard or redirect to any site which explains of howto?
Thanks in Advance
kartsj
-
Jan 25th, 2008, 11:21 AM
#2
That's a tough one for this forum...we would need so much detail about your system, etc.
Did you try google for some examples?
Really, a spring project shouldn't be different from another project from eclipse's setup. You need to decide how you will structure the project (.war, .jar, etc ?) then tell eclipse where your (spring binary) dependencies are.
Have you checked out maven to generate the eclipse project files for you?
-
Jan 25th, 2008, 03:02 PM
#3
Thanks for prompt reply...
I created the folder structure like
\
src\ com... *.java
ui\ *.jsp
WEB-INF\web.xml
WEB-INF\xyz-servlet.xml
WEB-INF\classes
WEB-INF\lib
build.xml
build.properties
I run the build ant script, which creates a .war file and place it in jboss server, and run the application.
I think i need a sample template for eclipse, so the i can even create a new one.
I googled, where it none of the applications are using Spring MVC.
kartsj
Last edited by kartsj; Jan 25th, 2008 at 03:06 PM.
-
Jan 29th, 2008, 12:06 PM
#4
Ya...my problem got solved.
The mistake what i was doing is that, my ant file generated .war file and deployed in jboss server.
Instead, generated .war folder and deploy in jboss server.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules