0
我通过Javascript提交表单作为document.videoReleaseForm.submit();
Servlet的不可达
和形式的定义是:<form name="videoReleaseForm" id="videoReleaseForm" action="studController">
当控制到达javascript代码,并试图将其提交给servlet,我得到的消息如:You don't have permission to access /student/studController on this server.
这里有什么问题。
不太可能是JavaScript。你能否在没有它的情况下提交表格?听起来像你可能需要在服务器上设置权限 – mplungjan
@mplungjan:提交之前的JavaScript代码进行一些检查并设置几个变量并提交它。顺便说一句我正在运行tomcat7。我们可以在哪里设置服务器的权限。 –
https://www.google.com/search?q=You+don't+have+permission+to+access+on+this+server+tomcat – mplungjan