-Igor
On 7/2/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrote:
Can't you just store your images in WEB-INF/images? You don't need to
store them in something similar to the URL mapping.
Else take a look at the <base> HTML tag which goes into head:
http://www.htmlhelp.com/reference/html40/head/base.html
Regards
Frank Bille
Avaleo
On Sun, 2006-07-02 at 20:05 -0700, R.A wrote:
> Hi all.
>
> I have a base path question.
> I set my WebApplication class in web.xml as follows.
>
> <servlet>
> <servlet-name>MyApplication</servlet-name>
>
> <servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
> <init-param>
> <param-name>applicationClassName</param-name>
> <param-value>pc.MyApplication</param-value>
> </init-param>
> <load-on-startup>2</load-on-startup>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>MyApplication</servlet-name>
> <url-pattern>/pc/*</url-pattern>
> </servlet-mapping>
>
> I store image files at "WEB-INF/pc/images".
> If I set image tag in html file, img src="" work fine.
> But I'd like to set image tag, img src="">> Is it possible to set base path, "/pc", in wicket java source?
>
> Regards,
> R.A
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
[email protected]
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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
