Announcement Announcement Module
No announcement yet.
Step by Step mvc tutorial - Chapter 4 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Step by Step mvc tutorial - Chapter 4

    I could run up to chapter3.
    I'm doing the first part of chapter4 ( )

    When I type http://localhost:8080/springapp/hello.htm
    I got the 404 error as follow.
    HTTP Status 404 -

    type Status report


    description The requested resource () is not available.

    Apache Tomcat/7.0.12

    the slash (/) in the source code seems to be important, but I could run chapter2.
    I wrote chapter4 based on the chapter2 running code that I wrote.

    I attached my codes running on STS 2.8.1, and I used spring 2.5.6 jar library.
    Note: I used common-logging.jar, jstl.jar, junit-3.8.2.jar, servlet-api.jar, spring.jar, spring-webmvc.jar, standard.jar under
    war/WEB-INF/lib and WebContent/WEB-INF/lib, but these jars are not included in the zipped file.

  • #2
    The issue was solved.
    I changed the orders of beans springapp-servlet.xml such that product 1 ~ 3 beans are written before bean poroductManager.