InterviewSolution
| 1. |
How To Add Context Path To Url For Outputlink? |
|
Answer» Current JSF implementation does not ADD the CONTEXT path for OUTPUTLINK if the defined path STARTS with '/'. To correct this problem use #{facesContext.externalContext.requestContextPath} prefix at the beginning of the outputLink value attribute. For example: Current JSF implementation does not add the context path for outputLink if the defined path starts with '/'. To correct this problem use #{facesContext.externalContext.requestContextPath} prefix at the beginning of the outputLink value attribute. For example: |
|