Results 1 to 3 of 3

Thread: Mapping URIs to views.

  1. #1
    Join Date
    Dec 2008
    Posts
    11

    Default Mapping URIs to views.

    I'm looking to map URIs to file names that do not match the URI name. Example:

    need to map /login.app to an actual page like /WEB-INF/pages/loginForm.jsp

    Note that the URI name is login and the actual page name is loginForm.

    Typically if the name of the URI is the same as the page name (/login.app maps to login.jsp) , then it seems to work effortlessly, but I don't wanna expose my internal naming convention on the URI.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2006
    Location
    Bangalore, India
    Posts
    242

    Default

    Hi,

    Maybe you should try implementing the RequestToViewNameTranslator
    Sami

  3. #3
    Join Date
    Dec 2008
    Posts
    11

    Default

    Thanks Sami. I'll give it a shot. But is there something we can do by means of configuration to achive this?

Posting Permissions

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