Cannot reslove the Symbol login.do

I have strut action in <jsp:forward as describe below

<c:if test="${!userBean.authenticated}">
<jsp:useBean id="loginFormBean"
scope="request"/>
<c:set target="$" property="pageReferer" value="../package/updateFormMyBookmark.do"/>
<jsp:forward page="/login.do"/>
</c:if>

Idea says cannot reslove the Symbol login.do at <jsp:forward page="/login.do"/>.
How do I tell to Idea it is struts action page.

-R


4 comments
Comment actions Permalink

Bottom line, you don't. Check the "Disable HTML validation" thread for a discussion about IDEA's current behaviour on JSP/HTML pages, and why it's bad for us.

0
Comment actions Permalink

This message is from JSP custom tag validation, do you also need to
disable it ;-)?

Marcus Brito wrote:

Bottom line, you don't. Check the "Disable HTML validation" thread for a discussion about IDEA's current behaviour on JSP/HTML pages, and why it's bad for us.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

This message is from JSP custom tag validation, do
you also need to
disable it ;)?


You mean, from a real TagLibraryValidator class, or some IDEA's internal validation? As I understand, TagLibraryValidators are only applied at runtime, not at design time.

It seems that the problem here is the same affecting , , <style>]]></span> and any other tags that references an external resource: IDEA is trying to check if the referenced file exists, and complains when it doesn't. However, IDEA can only check for static resources, and has no way to know if a resource will really be available or not at runtime.</p>

0
Comment actions Permalink

The custom tag references servlet, we will support this later.

Marcus Brito wrote:
>>This message is from JSP custom tag validation, do
>>you also need to
>>disable it ;-)?


You mean, from a real TagLibraryValidator class, or some IDEA's internal validation? As I understand, TagLibraryValidators are only applied at runtime, not at design time.

It seems that the problem here is the same affecting <img> , <script>, <style> and any other tags that references an external resource: IDEA is trying to check if the referenced file exists, and complains when it doesn't. However, IDEA can only check for static resources, and has no way to know if a resource will really be available or not at runtime.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.