Hey

Take a look at:

http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-HowtofixWicketgeneratedlinks

Frank

On 10/27/06, Christian Hvid <[EMAIL PROTECTED]> wrote:
Hi there.

Thanks for a great framework.

Is it possible to control this behaviour or work around it?

When I have this in my html template:

<link href="" media="screen" rel="Stylesheet" type="text/css"/>

And I deploy it in my servlet container (which is tomcat 5.5) it is changed to:

<link href="" media="screen" rel="Stylesheet"
type="text/css"/>

That is: Wicket changes my relative URL into an absolute URL based on
the path where the application is mounted.

The same goes for other URLs - ie. inside an img tag.

When I am deploying my web application I have an Apache 2 web server
sitting in front which is doing virtual hosting and proxying. This
requires the URLs to be relative.

-- Christian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to