response.header("Content-Type", mime).header("Content-Length", data.length).content(data).end();
The first file requested works fine. FireBug and friends show it moving over the network and the browser attempting to request all the additional files needed to render the page. However, FireBug also shows each additional request as a 404. My debug code in my request handler never fires - it's not being called again.
Replacing my handler with the following:
.add("/", new StaticFileHandler("web"))
Results in the same thing. :-( How do I get static content served?
Thanks!
I've implemented a basic HTTP request handler that basically goes through the motions to discover/collect the needed information for the response and finally hands it back to Webbit with this line:response.header("Content-Type", mime).header("Content-Length", data.length).content(data).end();
The first file requested works fine. FireBug and friends show it moving over the network and the browser attempting to request all the additional files needed to render the page. However, FireBug also shows each additional request as a 404. My debug code in my request handler never fires - it's not being called again.
Replacing my handler with the following:
.add("/", new StaticFileHandler("web"))
Results in the same thing. :-( How do I get static content served?
--Thanks!
You received this message because you are subscribed to the Google Groups "Webbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webbit+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.