URL path = null;
try {
path = ((WebApplication)getApplication()).getWicketServlet().getServletContext().getResource(urlFor(pack).toString());
} catch (MalformedURLException ex) {
ex.printStackTrace();
}
Someone should help me get out of this. this stuff is returning path as NULL
I have an image resource in a package and i need a convinient way to get a streamable handle to it from wicket page. what do i do? i know about JarInputStream but is thier a convinient wicket way of getting that done?
Thanks
------------------------------------------------------------------------- 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
