how to detect <jsp:usebean> ? Follow
hi, good day , i have use tag for my jsp, but it seem that intellij 5.0.2 can't detect it and give error like cannot resolve symbol
and also, if i write my code like following :
it highlight getServletContext() with red color,
both of it are working , just that the IDE give me some error msg that annoying
how do i avoid these error ? thank you very much for guidace
Please sign in to leave a comment.
Jdk/servlet/struts lib is most likely not configured.
alvin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
i have set jsp-api.jar and servlet-api.jar as global library in setting | modules , and also include both jar file under module library, but it still happen , jdk is set properly (1.4.2.9)
Do you mean getServletConfig().getServletContext()?
What is highlighted in jsp:useBean?
alvin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
thanks Maxim Mossienko for reply,
when i use ServletContext srvCtx = getServletContext();
IDE give me cannot resolved method for getServletContext(), but if i use getServletConfig().getServletContext() then it didn't prompt me error, why is it so ?
but for the case <jsp:usebean>
under scriptlet, if i use the id "checkFinder" then keyin "." (dot), it didn't give me the methods it contains, and it give me "cannot resolve symbol checkFinder" error
alvin wrote:
HttpJspPage interface does not have such method (but some particular
implementation may have)
You are editing jsp not in Web module.
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
This bug is fixed in next 5.1 eap build
alvin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"