Salut,
I think you need to invoke:
https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/tcp/StaticResourcesAdapter.html#setResourcesContextPath(java.lang.String)
A+
-- Jeanfrancois
Survivant 00 wrote:
> can someone tell me what wrong with that ? (File not found) (is it a bug ?)
>
> I'm loading jmaki-sample in GWS.. and I have to following info in the
> logs..
>
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> context=/jmaki-comet
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> servletPath=/words
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> alias=/jmaki-comet/words
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> rootFolder=d:/Temp/tmp/jmaki-comet
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> context=/jmaki-comet
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> servletPath=/moderator
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> alias=/jmaki-comet/moderator
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
> rootFolder=d:/Temp/tmp/jmaki-comet
>
> [main] Sat Apr 04 14:39:31 EDT 2009 [FIN]
> com.sun.grizzly.http.SelectorThread initAlgorithm:Using Algorithm:
> com.sun.grizzly.http.algorithms.NoParsingAlgorithm
> ...
>
> [http8080-WorkerThread(0)] Sat Apr 04 14:40:11 EDT 2009 [FIN]
> com.sun.grizzly.tcp.StaticResourcesAdapter service:File not found
> .\jmaki-comet\words
>
> [http8080-WorkerThread(0)] Sat Apr 04 14:40:11 EDT 2009 [FIN]
> com.sun.grizzly.tcp.StaticResourcesAdapter service:File not found
> d:\Temp\tmp\jmaki-comet\jmaki-comet\words
>
> the web page is working perfectly..
>
>
>
>
>
>
>
>