• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hide absolute navigation paths

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have the following navigation rule which works fine..

<navigation-rule>
<navigation-case>
<from-outcome>
RESULT_VIEW
</from-outcome>
<to-view-id>
/WEB-INF/views/pages/Compare.jsp
</to-view-id>
</navigation-case>
</navigation-rule>

The only issue is that the whole path gets displayed in the Address bar once the Compare.jsp page is rendered as below.

http://localhost:9080/MyApp/faces/WEB-INF/views/pages/Compare.jsp

Ideally i would like to see something like..
http://localhost:9080/MyApp/faces/Compare.jsp


Please let me know what i need to do in order to achieve the above..

Thanks in advance,
-Mike
[ July 07, 2008: Message edited by: Mike Skit ]
 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys, any options to the above query.. ?

Thanks,
-Mike
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which server are you running on and which implementation of JSF you are using?
 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joe, Thanks for responding..

Below are the details..

Server : IBM WAS 6.0 App Server,
JSF Implementation Jars : Provided by IBM ( I guess it is JSF 1.1 ), not sure though.
Based on the faces-config.xml the dtd version it is referring is..
http://java.sun.com/dtd/web-facesconfig_1_0.dtd


Thanks,
-Mike.
 
Joe Matthew
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you show the web.xml?
I am sorry I took a long time.
reply
    Bookmark Topic Watch Topic
  • New Topic