Way to get tag insight when using an include or jsp fragment?

I like to define my webapp's tags in a jspf fragment and have that automatically included on my pages by defining the mapping in my web.xml

    
        *.jsp
        /WEB-INF/jspf/headertags.jspf
    

]]>


The problem with this is that IDEA then doesn't recognize any of my tags on the JSP.

Is there anyway to get the tags recognized when using a jsp fragment to define the tags used on the page? (I'm assuming one would have the same problem if they used an explicit include on the JSP as well, to include a file that contained all the tags).

1 comment

I am looking for this functionality as well.
<%@ include file="/WEB-INF/jspf/headertags.jspf"%> works fine if you do it inside each file (but that's a lot of work and easy to forget at times).

Vote for issue #5696
http://www.jetbrains.net/jira/browse/IDEA-5696

0

Please sign in to leave a comment.