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="pc/images/abc.jpg", work fine.
But I'd like to set image tag, img src="images/abc.jpg".
Is it possible to set base path, "/pc", in wicket java source?
Regards,
R.A
--
View this message in context:
http://www.nabble.com/about-base-path-tf1882484.html#a5145993
Sent from the Wicket - User forum at Nabble.com.
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