<form action="something" - IDEA gives a warning and ignores web.xml
已回答
I have a <form action="tableReport" in the JSP page.
IDEA gives a warning "Cannot resolve file 'tableReport'" while project's web.xml contains a mapping:
<servlet-mapping>
<servlet-name>TableReport</servlet-name>
<url-pattern>/tableReport</url-pattern>
</servlet-mapping>
So I suppose IDEA could provide a link to the corresponding servlet from "tableReport" instead of giving a warning.
8243, Java 6, Fedora
请先登录再写评论。
You are right. Please file it to JIRA.
Sure, http://www.jetbrains.net/jira/browse/IDEA-17592
Having the same issue, and the jira issue seems to be gone
The issue has been fixed long ago: https://youtrack.jetbrains.com/issue/IDEA-43336 It must be a different problem.
Please make sure you have Web facet configured with the Web resource directory and Deployment descriptor set.
If application works but the issue remains, please file a bug at https://youtrack.jetbrains.com/issues/IDEA with a sample project. Thank you.
The issue is in Pycharm, maybe it got fixed in IDEA, but didn't make it into Pycharm
The mentioned issue is only about Java and web.xml integration. If you have it with Python related frameworks please report at https://youtrack.jetbrains.com/issues/PY Thank you.