I posted this in the plugins thread
because I thought it might be a limitation in the Struts Assistantbut now I'm thinking it's an issue with my webapp configuration generally. I'm using IDEA 6.0.1
I'm working with a team that has a fairly extensive JSP/Struts/Tiles/Spring setup, but I'm not sure if their directory structure matches what is expected. From my struts config files, I can navigate to Java classes, but path references to JSPs and tiles configuration don't work (no navigation, and are marked in read). "Go To File" doesn't include my JSPs. The problems might be in the way I set up the project.
Here's the basic layout
....../java (beans, forms, actions, other)
There are others, but that's the basics. The struts-config is in WEB-INF, JSPs are either in /webapp or subdirectories. Tiles-config is in /webapp/tiles.
I've tried configuring this in IDEA in several different ways, with mixed results. This is the first time I've tried using IDEA for a web app. There is an IDEA project, and this part of the project is configured as a web module, with root at /webapp.
src/java, src/resources and src/webapp are all configured as content roots, so that I can open them via Go To File (ctrl-shift-n), and src/resources is also in the dependency list, so that it gets packed to webapp/WEB-INF/classes on make.
There is one deployment descriptor, /WEB-INF/web.xml, and src/webapp is listed as a web resource, with path of "/".
When viewing the struts config, I can navigate to Java classes; within the spring config, I can as well. From struts I get errors related to JSP references and tiles references--they show in red, and are not navigable. JSP files are also not listed in Go To Files.
I really have no idea what I'm doing, but I can compile and deploy the module's Java code and properties, and run it (externally). That much is good--but in general it feels like a mess. I don't know if this is because I just don't understand what IDEA is expecting, or if the team is using a non-standard layout (they all work with Eclipse on Linux, I'm using IDEA on Windows; among other things, they use quite a lot of symlinks to ease certain deployment).
So--improper setup may be the cause of my struts woes, but I haven't found the documentation that useful.
Any tips appreciated!