| Author |
problem with requestContextPath
|
Anuar Kabdenkazyev
Greenhorn
Joined: Aug 01, 2008
Posts: 1
|
|
Hi all! I've just started using JSF with the help of a book. I've installed and set up everything that is needed and now I'm just copying everything from the book (simple login application). However I have a problem with the following bit of code: <h:commandButton action="success"image="#{facesContext.externalContext.requestContextPath} /images/sumbit.gif"/> The problem is that the image is simply not displayed Thanks a lot
|
 |
R Ben Parsons
Greenhorn
Joined: Aug 05, 2008
Posts: 9
|
|
|
Have you checked the HTML to check that the path it's pointing to is correct? Also check for typos - e.g. maybe your link says sumbit.gif and your image is called submit.gif
|
R. Ben Parsons<br />SCJA
|
 |
 |
|
|
subject: problem with requestContextPath
|
|
|