1 Reply Latest reply on Aug 4, 2009 2:12 PM by german

    How to have redirect the home.seam according to the request.

    abucs01

      Hi,


      How to redirect the home.seam dynamically according to request url given.


      example: 


      url : http://localhost:18080/projectname  usually it will redirect like this http://localhost:18080/projectname/home.seam


      but i need to do like this:


      case 1:  http://localhost:18080/projectname/UK   it should redirect to
      http://localhost:18080/projectname/homeUK.seam


      case 2:  http://localhost:18080/projectname/US   it should redirect to
      http://localhost:18080/projectname/homeUS.seam


      where i have homeUK.jsp and homeUS.jsp in my paroject , just i want to know how to redirect according to the URL request...


      in which XML file in need to modify to acheive this?....