Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC Context path Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC Context path

    Hi,

    I am new to STS IDE. I just created new MVC project by selecting the Spring MVC Template. I can able to build the project without compilation errors. But when I do the right click and trying to run the project under VMWare vFabric tc Server, context path is showing as package name instead of project name.

    Could anybody help me on this why the context path is showing as base package name instead of project name?

    Here are the my project details:

    Project Name: HelloWorld
    Base Package Name:com.sample.hello

    build the project without compilation errors and do the run on server(VMWare vFabric tc Server), then in browser it is showing as
    http://localhost:8080/hello instead of http://localhost:8080/HelloWorld.

    I want my project name as my contextpath.

    Any suggestions on this would be appreciate.

    Thanks
    Last edited by srujana; Jan 16th, 2013, 09:11 PM. Reason: no one replied on my post. so just want to modify hope somebody will reply.

  • #2
    Useful post for you

    Hi this link may be answer your question.

    http://stackoverflow.com/questions/2...ect-in-eclipse

    Thanks
    RAJ

    Originally posted by srujana View Post
    Hi,

    I am new to STS IDE. I just created new MVC project by selecting the Spring MVC Template. I can able to build the project without compilation errors. But when I do the right click and trying to run the project under VMWare vFabric tc Server, context path is showing as package name instead of project name.

    Could anybody help me on this why the context path is showing as base package name instead of project name?

    Here are the my project details:

    Project Name: HelloWorld
    Base Package Name:com.sample.hello

    build the project without compilation errors and do the run on server(VMWare vFabric tc Server), then in browser it is showing as
    http://localhost:8080/hello instead of http://localhost:8080/HelloWorld.

    I want my project name as my contextpath.

    Any suggestions on this would be appreciate.

    Thanks

    Comment

    Working...
    X