arne anka schrieb:
> hi,
> i created three pages:
> /index.jspx
> /search/search_simple.jspx
> /search/search_results.jspx
>
> index.jspx contains a jscookmenu directing to search_simple.jspx (by
> navigation-rule), search_simple.jspx sends a form to a backing bean
> which in turn (by navigation-rule) directs to search_results.jspx.
> surfing to
>
> http://localhost/foo/
>
> renders index.jspx, chosing search_simple.jspx from the menu renders
> the page (search_simple.jspx) correctly -- but the browser now shows
>
> http://localhost/foo/index.jsf
>
> in the url field.
>
> submitting the rendered formular directs to search_results.jspx -- but
> now the url filed shows
>
> http://localhost/foo/search_simple.jsf
>
> ie the url displayed is always one page behind.
> i am sure it is some kind of beginners fault but i do not find any
> hints how to solve, so please -- how do i correct that?
>
> i would happily get rid of the whole url thing (ie the browser could
> always show http://localhost/foo/ regardless what page is rendered),
> but if the url is displayed it should be the right one.


See here:
  http://wiki.apache.org/myfaces/FAQ#StaleLink

Regards, Simon

Reply via email to