Include tld-files in jsp
已回答
Hi!
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?
Thanks.
请先登录再写评论。
You should map the directory where WEB-INF is located as root Web Resource
Directory in your web facet.
Oh my god, thank you Dmitry. For everyone: it works, even if it's a 13 year old comment