One question. I'm doing this using GrizzlyWebServer
I have a war that have 2 servlets.
I set the rootFolder for theses 2 servletAdapter
and
sa.setHandleStaticResources(true);
but when I trace the code..the GrizzlyChainAdapter is "."
should I set the rootfolder for this one too ?
I try that SelectorThread.setWebAppRootPath(rootFolder); but didn't work
too. (and by the way.. when should I use this line ? )
I trace into the code I found that GWS.updateGrizzlyAdapters() update the
rootfolder for GrizzlyChainAdapter..
but the variable : webResourcesPath is set from the GWS constructor....
if we add a method : setWebResourcesPath(String rootFolder)
will it fix my problem ?