I created a Static.java page class like this... public StreamResponse onActivate(String filename) {
File file = new File("C://Temp//jetty-6.1.16//webapps/portal//static//help//"+filename); return new PageStreamResponse(file); } It serves the html content but for some of the static files there is a blank in the filename which seems to cause this problem... [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Input string 'Customise Your Presence.bmp' is not valid; the character ' ' at position 10 is not valid. java.lang.IllegalArgumentException: Input string 'Customise Your Presence.bmp' is not valid; the character ' ' at position 10 is not valid. at org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:144) at $URLEncoder_275016f422cdb7.decode(Unknown Source) I also don't see a foolproof way to set the content type in th response header, but it would be better if my static page could pass these non html resource requests back to the container for serving somehow anyway? John