I recently came across a situation where I have to serve some static html files in a wicket application. Though it’s pretty simple, thanks to the ultra easy way wicket offers to write components, things can get tricky especially with the request path.
So I thought of documenting this for my own future reference and for the sake of the community.
Without wasting time, let me quickly explain how to serve static files with wicket (blatantly copied from wicket-examples).
Assumptions
I assume that you are using wicket 1.4.x as that’s the latest stable version at the time of writing . . . → Read More: Wicket: Serving static files



Recent Comments