Results 1 to 2 of 2

Thread: Spring MVC Context path

Threaded View

  1. #1
    Join Date
    Jan 2013
    Posts
    5

    Default 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 at 09:11 PM. Reason: no one replied on my post. so just want to modify hope somebody will reply.

Posting Permissions

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