File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Where are the pictures of my jsf page?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Where are the pictures of my jsf page?!" Watch "Where are the pictures of my jsf page?!" New topic
Author

Where are the pictures of my jsf page?!

Kamila Rutkowski
Ranch Hand

Joined: Sep 22, 2009
Posts: 37
I have a navigation-rule like this in my jsf 2 application:

when I put an h:commandLink in myHome2.xhtml within directory myhome2 that satisfy this rule, the page myHome1.xhtml will display but there are no images on the page! where they go?!
of course, behind the application is springsecurity 3 with this config:

Kamila Rutkowski
Ranch Hand

Joined: Sep 22, 2009
Posts: 37
I found the pictures my picture URLs were relative to the current URL path!
Kamila Rutkowski
Ranch Hand

Joined: Sep 22, 2009
Posts: 37
I found the pictures my picture URLs were relative to the current URL path!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where are the pictures of my jsf page?!
 
Similar Threads
jsf newbie, navigation not working
JSF 2 is not calling serlvet filter in forward navigation
Error after navigation
navigation rules are not working...
My navigation problem