How to make the IDEA to resolve the symbol defined in <bean:define/>?
The jsp code is like the below, why does the IDEA 4.5.1 prompt me "Cannot revolve the symbol 'items'", but the IDEA 4.0 does not?( I open the same project with IDEA 4.0 and IDEA 4.5.1)
-
<bean:define id="items" name="items" type="java.util.List" scope="page" />
<%
Iterator itx = items.iterator();
....
%>
-
Please sign in to leave a comment.
Hi,
Please, post small web project illustrating the problem to
http://www.intellij.net/tracker/idea/viewSCR?publicId=25186
truecolor wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hi,
Please, take care of following items:
- adding struts.jar to WEB_INF\lib and register it as library for the
web module;
- tld should be placed in WEB-INF and added to exploded directory
via settinging resource directory WEB-INF of project to relative path
/WEB-INF (the latter setting will be added by the default in 4.5.2)
truecolor wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
sure, I added the struts.jar into my project library.
also, I added the .tld into my project's external resource
, the URI is "/WEB-INF/tld/struts-bean.tld" and the Path is "D:\workspace\main-dev\V360\web\src\ui\WEB-INF\tld\struts-bean.tld".
The only different thing from you suggestion is I have not created the module as a web module, so, this is the reason? And why does this issure not recur in IDEA 4.0 (every other thing is same.)
Hi,
Yes, web module is a must for correct work.
truecolor wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks.
I just wondered why the IDEA 4.0 worked well in the same situation(no web module).