Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Spring MVC

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Spring MVC

    Hello
    I am new Spring MVC and I try to write currentDate example and i have a problem:
    this is a my Controller class
    Снимок.JPG

    Tis is a My web.xml
    Снимок1.JPG
    this is a my spring-servlet.xml file
    Снимок2.JPG
    this is a my index.jsp file
    Снимок4.JPG
    this is a myexample.jsp file
    Снимок7.JPG

    when I run my server example.jsp does not works and i don't know why
    Снимок0.JPG


    DEBUG 2012-07-28 14:45:34,747 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' determining Last-Modified value for [/SpringMVCRundomData/forms/example.html]
    DEBUG 2012-07-28 14:45:34,749 org.springframework.web.servlet.DispatcherServlet: No handler found in getLastModified
    DEBUG 2012-07-28 14:45:34,759 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' processing GET request for [/SpringMVCRundomData/forms/example.html]
    WARN 2012-07-28 14:45:34,762 org.springframework.web.servlet.DispatcherServlet: No mapping found for HTTP request with URI [/SpringMVCRundomData/forms/example.html] in DispatcherServlet with name 'spring'
    DEBUG 2012-07-28 14:45:34,762 org.springframework.web.servlet.FrameworkServlet: Successfully completed request
    DEBUG 2012-07-28 14:47:12,911 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' determining Last-Modified value for [/SpringMVCRundomData/forms/example.html]
    DEBUG 2012-07-28 14:47:12,912 org.springframework.web.servlet.DispatcherServlet: No handler found in getLastModified
    DEBUG 2012-07-28 14:47:12,912 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' processing GET request for [/SpringMVCRundomData/forms/example.html]
    WARN 2012-07-28 14:47:12,912 org.springframework.web.servlet.DispatcherServlet: No mapping found for HTTP request with URI [/SpringMVCRundomData/forms/example.html] in DispatcherServlet with name 'spring'
    DEBUG 2012-07-28 14:47:12,912 org.springframework.web.servlet.FrameworkServlet: Successfully completed request
    DEBUG 2012-07-28 15:14:28,852 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' determining Last-Modified value for [/SpringMVCRundomData/forms/example.html]
    DEBUG 2012-07-28 15:14:28,853 org.springframework.web.servlet.DispatcherServlet: No handler found in getLastModified
    DEBUG 2012-07-28 15:14:28,853 org.springframework.web.servlet.DispatcherServlet: DispatcherServlet with name 'spring' processing GET request for [/SpringMVCRundomData/forms/example.html]
    WARN 2012-07-28 15:14:28,853 org.springframework.web.servlet.DispatcherServlet: No mapping found for HTTP request with URI [/SpringMVCRundomData/forms/example.html] in DispatcherServlet with name 'spring'
    DEBUG 2012-07-28 15:14:28,854 org.springframework.web.servlet.FrameworkServlet: Successfully completed request


  2. #2
    Junior Member
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Spring MVC

    I am beginner Spring mvs and If someone is willing to help me sometimes my skype is balubalubb and add me

  3. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 262 Times in 231 Posts

    Default Re: Spring MVC

    Would muuuuuuuch rather have pasted code than a screenshot...
    It is not very esay to copy-paste your code from a screenshot where I can bounce numbers around to see what is going on

  4. #4

    Default Re: Spring MVC

    I would suggest you to follow this in depth tutorial about Spring MVC:

    Understanding Spring MVC with code samples


    Hope that helps.

Similar Threads

  1. About Spring Singleton
    By boosachandu in forum Web Frameworks
    Replies: 0
    Last Post: July 18th, 2012, 03:17 AM
  2. spring remember me
    By mr.miku in forum Web Frameworks
    Replies: 0
    Last Post: November 19th, 2011, 12:17 PM
  3. Get Paid Spring project
    By mr.miku in forum Paid Java Projects
    Replies: 1
    Last Post: November 16th, 2011, 08:43 AM
  4. struts2 is better or spring?
    By the light in forum Web Frameworks
    Replies: 0
    Last Post: June 26th, 2011, 11:10 AM
  5. Spring Mvc 404 error
    By jadeite100 in forum Web Frameworks
    Replies: 2
    Last Post: January 5th, 2010, 06:47 PM