Include tld-files in jsp


I have some personal tld-files that I use in my jsp-files and when deployed to jBoss it all works great. IDEA however can't find those files and offer me tab-completions when using the tags.

The taglib statement looks like this

<%@taglib uri="/WEB-INF/myOwn.tld" prefix="mine"%>

but WEB-INF is actually located at ../WEB-INF or just WEB-INF relative to my jsp. I've tried to change it and it still won't work, and even if it did it would ruin the jBoss deploy which obviously is more important

Any hints on this?


1 comment
Comment actions Permalink

You should map the directory where WEB-INF is located as root Web Resource
Directory in your web facet.


Please sign in to leave a comment.