taglib uri and IntelliJ

Is the only way to get IntelliJ to recognize the path to a tld file is to use a Web Module?

<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>

I get a "can't resolve tld with this URI" error on this. I am not using a Web Module because everyone else on my team uses Eclipse, so changing to the structure of a Web Module isn't an option.

Or can I use a Web Module without actually changing the structure of the code?

Also, we use Struts and intelliJ doesn't appear to play nice with Struts configuration unless you are using a Web module...is this true as well?

3 comments
Comment actions Permalink

Ok, like always I have a brainstorm right after posting and solved my own problem.

I guess I have always misunderstood web modules. I always thought they forced you into structuring your code a certain way which I never liked because some people use Eclipse and we use ANT to build so don't need all the building/deploying hand holding.

This isn't the case, you can make a web module out of a project structured any old way. Which is news to me but maybe not other people:-)

So I have it finding everything now.

Is the Web Flow Diagram tab supposed to be showing me something? (tab appears when viewing a struts config file). It is blank for me. Just shows an empty white area.

0
Comment actions Permalink

Hmm... It should show you your actions and forwards... What IDEA build are
you using?

"Michael Parmeley" <no_mail@jetbrains.com> wrote in message
news:17785308.1165272914703.JavaMail.itn@is.intellij.net...

Ok, like always I have a brainstorm right after posting and solved my own
problem.

>

I guess I have always misunderstood web modules. I always thought they
forced you into structuring your code a certain way which I never liked
because some people use Eclipse and we use ANT to build so don't need all
the building/deploying hand holding.

>

This isn't the case, you can make a web module out of a project structured
any old way. Which is news to me but maybe not other people:-)

>

So I have it finding everything now.

>

Is the Web Flow Diagram tab supposed to be showing me something? (tab
appears when viewing a struts config file). It is blank for me. Just shows
an empty white area.



0
Comment actions Permalink

It finally did start showing me the app flow there. Just took it quite a while to actually start showing it (it is a fairly large project so maybe it just took it a while to parse everything it needed to?)

0

Please sign in to leave a comment.