Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: John Lloyd-Jones
Static files [ reply ]  
2009-08-08 22:20
Right now I have a small application running on the glassfish gem (0.95). It is written to deploy as a war, so there were a few small details that I had to fix with an adapter class, but the current issue is the static files. In a serious production environment, I can use Apache to serve static files (images, js, css), but for small scale test deploys, it's a pain. Is there any reasonble way to configure the glassfish gem to serve static files directly?

Oh and I see that there is a grizzly-sendfile plugin that looks nice, but it is currently very dependent on the glassfish build and I don't even know if it would work with the glassfish gem.