[英]I am not able to run fresh java web application project in netbeans IDE 7.3
In netbeans IDE 7.3,I create Java web application.I didn't add anything.Just a simple project. 在netbeans IDE 7.3中,我创建了Java Web应用程序。我没有添加任何内容。只是一个简单的项目。 I am using glassfish server.Then I cleaned and built it.When I click on Run, 我正在使用glassfish服务器。然后我清理并构建了它。当我单击“运行”时,
I get output as " Host Required In Request 我得到的输出为“ 请求中需要主机
Description: Your browser did not send a hostname as part of the requested url. 描述:您的浏览器未发送主机名作为请求的URL的一部分。 The configuration of this proxy requires a hostname to be sent as part of the url " in chrome browser. 在chrome浏览器中,此代理的配置要求将主机名作为url的一部分发送 。
I also get this output while running same project : Cycle Detected Description: Your request is prohibited because it would cause a cycle. 运行相同项目时,我也会得到此输出: 检测到周期描述:禁止您的请求,因为这会导致周期。
I am not getting why this errors are coming.Because earlier when I used to create any new fresh project, I can see contents of index.jsp page in browser. 我不明白为什么会出现此错误。因为之前我曾经创建任何新项目,所以我可以在浏览器中看到index.jsp页面的内容。
Try to open it in Firefox and see if it works. 尝试在Firefox中打开它,看看它是否有效。 If you have redirects, Chrome complains. 如果您有重定向,Chrome会抱怨。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.