I have upgraded Wicket 1.x to wicket 8.x. After this upgrade Excel and PDF download stop working and showing 404 error.
I have found this below class has been removed after the wicket 1.5 version.
org.apache.wicket.markup.html.DynamicWebResource
And this below class is the replacement of this class
org.apache.wicket.request.resource.ByteArrayResource
Are there any tutorials or demo on how to do this in Wicket 8.x version?