in your markup you should not try and account for the filter nesting,
wicket will do it for you. so removing the ../ from your markup should
fix the problem

-igor

On Fri, May 14, 2010 at 6:15 PM, hill180 <[email protected]> wrote:
> I have searched the web and all example don't seem to match with what I need
>
> I have an application setup to have a web application with the wicket filter
> on app
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
>    <display-name>TESTAPP</display-name>
>  <filter>
>        <filter-name>wicket.TESTAPP </filter-name>
>
>  <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
>        <init-param>
>            <param-name>applicationClassName</param-name>
>            <param-value>com.test.WicketApplication</param-value>
>
>        </init-param>
>    </filter>
>    <filter-mapping>
>        <filter-name>wicket.TESTAPP </filter-name>
>        <url-pattern>/app/*</url-pattern>
>
>
>    </filter-mapping>
>    <welcome-file-list>
>        <welcome-file>index.html</welcome-file>
>    </welcome-file-list>
> </web-app>
>
> www.test.com --> some jsp pages
> www.test.com/app/ --> wicket application
>
> In the wicket application in the html, there are src tags and href tags that
> use ../
> like.  ../index.html or ../images/home.jpg
>
> In the Wicket apps it changes all the above to ../../index or
> ../../images/home.jpg
> Is there a way to tell wicket no to change or add this extra ../
>
> I have tried <wicket:link> with mixed results (addling link to the picture
> instead of the link) , and I would rather not make every link wicket tag.
>
> Thanks!
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to