is there any way to access resource in the webapp?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

is there any way to access resource in the webapp?

mrblobby
See this post: http://devhobbs.blogspot.com/2011/07/swf-in-wicket.html  for my various attempts at getting a wicket page to contain a swf located in its own webapp dir.  

Ultimately, im looking for a way to generate a link to an swf in the applications webapp dir.

There is something in the 1.5 beta which seems along the right lines:

getRequestCycle().getUrlRenderer().renderContextPathRelativeUrl("games/test.swf");

Has anyone come across a way to generate a path to a resource in wicket 1.4?
Loading...