Announcement Announcement Module
Collapse
No announcement yet.
Help required in running simple spring web application... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help required in running simple spring web application...

    Hello people,
    I am trying to run a simple web application using spring in eclipse.
    My directory structure is as follows:
    Java Resources: src
    A.java
    DispatchController.java
    Libraries:
    Spring.jar,Spring-webmvc.jar,Commons-logging.jar,
    WebContent:
    index.jsp
    view.jsp
    WEB-INF:
    web.xml
    dispatch-servlet.xml
    Application-context.xml

    I am using a Tomcat server. When i click on the link on my jsp page, it is simply not accessing web.xml. It says 'Page cannot be displayed'. So the servlet mapping doesnt happen.
    How am I supposed to structure my program, if that is the error? If not, how do I go about it??Please do help me run a simple application.

  • #2
    Seems like the application doesn't start. Look for Tomcat log when you start the server.

    To get more replies, you should move this to 'web' thread.

    Comment

    Working...
    X