Results 1 to 4 of 4

Thread: Spring MVC + Eclipse

  1. #1
    Join Date
    Jul 2006
    Posts
    4

    Default 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

  2. #2

    Default

    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?

  3. #3
    Join Date
    Jul 2006
    Posts
    4

    Default

    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.

  4. #4
    Join Date
    Jul 2006
    Posts
    4

    Default

    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
  •