myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: Urls/Actions without host/port
Date Wed, 20 Jun 2007 15:03:37 GMT
commandLink and commandButton use form submit and, at least on my
application, the form action is a relative link and does not include
the scheme or host.

On 6/20/07, David Uebelacker <david@uebelacker.eu> wrote:
> Hi,
>
> i think this is a simple one, but i can't find out how to configure it right.
>
> I want to run my JSF/trinidad application in a tomcat behind a normal
> httpd apache. Requests are redirected from the httpd to the tomcat with
> rewrite rules.
>
> RewriteRule ^/app/(.*) http://localhost:8080/app/faces/$1 [P,QSA]
>
> This works fine, but when i click a link/action the url points always to
> the tomcat.
>
> http://host/app/index.xhtml -> http://host:8080/app/faces/other.xhtml
>
> What can I do to tell my applikation to not use the host/port information
> in the urls ?
>
>
> thanks!
>
> David
>
> --
> David Uebelacker
> mailto:david@uebelacker.eu
> http://david.uebelacker.eu/
>
>

Mime
View raw message