Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Creating Spring MVC Template Project

  1. #11
    Join Date
    Jan 2013
    Posts
    5

    Default

    Yes, in Spring MVC template base package is limited to 3 levels. If we give more than 3 levels, it is trying to ended to 3rd level itself.
    I.e In my project I have given,my base package as com.mycompany.spring.mvc which comtains 4 levels. But we when I do run on server of my project(ExampleProject) , in browser it is displayed as http://localhost:8080/spring instead of http://localhost:8080/ExampleProject.

    could you please anybody help me what is the relation between base package and project name?
    why context name is taking as base package last level name instead of project name?
    Is this problem with only VWware vfabric server?

    I was stuckup here since 10 days, can some one help me to proceed further?

  2. #12

    Default Creating MVC Template

    Quote Originally Posted by srujana View Post
    Yes, in Spring MVC template base package is limited to 3 levels. If we give more than 3 levels, it is trying to ended to 3rd level itself.
    I.e In my project I have given,my base package as com.mycompany.spring.mvc which comtains 4 levels. But we when I do run on server of my project(ExampleProject) , in browser it is displayed as http://localhost:8080/spring instead of http://localhost:8080/ExampleProject.

    could you please anybody help me what is the relation between base package and project name?
    why context name is taking as base package last level name instead of project name?
    Is this problem with only VWware vfabric server?

    I was stuckup here since 10 days, can some one help me to proceed further?
    This must be new as of 3.0 or 3.1. In 2.7 I believe it took 4 levels. But this still does not address my problem of the fact that creating a Spring Template MVC project and running it on the server gives a 404 page not found error. I can only get it to work In STS under Eclipse. No one can seem to provide insight to that one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •