Wicket sets the content type for you *if* - it is provided by the resource stream - can be looked up via servlet context from web.xml - can be derived from URLConnection.
See Response#detectContentType(). Please try out the first option, i.e. override FileResourceStream#getContentType(). Sven Am 04.12.2010 um 16:57 schrieb val360: > > Yes it does, it's .fp7 > > Which is not an extension web server would recognize, could that be the > issue? > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Initiating-File-Download-through-Ajax-is-not-working-tp2289784p3072514.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org