You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Alexander Panzhin <ja...@balticum-tv.lt> on 2006/05/04 15:21:09 UTC

outputLink and context

How to make the outputLink be context relative
so that my
<h:outputLink value="/hello.jsf">
    <t:outputText value="hello"/>
</h:outputLink>
would point to http://localhost:8080/hello/hello.jsf and not 
http://localhost:8080/hello.jsf

-- 
   With best regards,
      Alexander Panzhin


Re: outputLink and context

Posted by Mert Çalışkan <mc...@gmail.com>.
Don't specify / before hello.jsf. It'd be context relative with this.

Regards,

Mert


On 5/4/06, Alexander Panzhin <ja...@balticum-tv.lt> wrote:
>
> How to make the outputLink be context relative
> so that my
> <h:outputLink value="/hello.jsf">
>    <t:outputText value="hello"/>
> </h:outputLink>
> would point to http://localhost:8080/hello/hello.jsf and not
> http://localhost:8080/hello.jsf
>
> --
>   With best regards,
>      Alexander Panzhin
>
>
>
>