Jetty return 403 -
i use jetty in project , created p-to-p connections pc(nodes). , have problem in 1 of them. don't use xml , build jar file.
if (apiresourcebase != null) { servletholder defaultservletholder = new servletholder(new defaultservlet()); defaultservletholder.setinitparameter("dirallowed", "false"); defaultservletholder.setinitparameter("resourcebase", apiresourcebase); defaultservletholder.setinitparameter("welcomeservlets", "true"); defaultservletholder.setinitparameter("redirectwelcome", "true"); defaultservletholder.setinitparameter("gzip", "true"); apihandler.addservlet(defaultservletholder, "/*"); apihandler.setwelcomefiles(new string[]{"index.html"}); }
in pc works, in 1 pc, jetty return 403, if go / or 404 if go /index.html
are have ideas need do?
what's problem! yo!
just take manga , read till end!
i hope you;)
Comments
Post a Comment