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!

Reply via email to