我试图使用Wicket WebResource
动态地同时加载大量图像。问题是,它需要大量的时间来加载它们,并在某些情况下,花费超过一分钟,然后我收到以下错误:如何在Wicket中动态快速加载图像?
org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[http-8443-2,5,main], giving up trying to get the page for path: 6:documentList:scroller:batchElem:11:content:item:7:cols:9:batchItemContent:linkToPreview:imageThumbnail
at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
有谁知道其他的解决方案,以动态地加载图像,为了避免错误?
可能相关:http://stackoverflow.com/questions/5714229/wicket-image-component-not-found-on-page – Pops 2011-04-20 14:26:21