Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide absolute navigation paths

 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi Guys, any options to the above query.. ?

Thanks,
-Mike
 
Joe Matthew
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Can you show the web.xml?
I am sorry I took a long time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic