Hi all,

To deliver resources (mainly images) dynamically, we have created a custom
ResourceReference and mounted that to a path:



As long as the image is there and an inputstream can be retrieved from our
service, everything works fine. However if a stream is not available, we
throw an AbortException 404. In that case later on there is this stacktrace
on the console:



This again leads to Wicket trying to deliver the ErrorPage which is not
wanted.
So my question is: what do we do wrong? I guess I should not throw an
AbortException here, but what do I do instead to get a 404 to the browser?

Thank you in advance for any help.




-----
-- 
Regards, 
Hans 

http://cantaa.de 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Mounted-Dynamic-Resource-IllegalStateException-tp4660927.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to