Web Module: Can I change where the WEB-INF directory is placed?

Version 6.0

IDEA Project: Web Module

Can I change where the WEB-INF directory is placed?

Instead of outside the WebRoot Directory, can I have it placed inside the WebRoot Directory and still have all of the IDE features available?

Thanks,

--Todd

4 comments

Configure the Web Resource directory to the root directory containing both your resources and the WEB-INF directory.

0

What?

I've attached a screen shot of the Add Module step I believe I need to change? Would you please elaborate more.

Thank you for helping me with this.

--Todd



Attachment(s):
AddModule.jpg
0

Possible configurations:

MODULE_HOME = /
WEB-INF is placed under MODULE_HOME

or

MODULE_HOME/resources = /
WEB-INF is under MODULE_HOME/resources

Check the mappings in Web Module Settings | Web Resource directories dialog in your module configuration (Settings | Project Structure).

0

OK. I understand now. thanks.

I do want:

MODULE_HOME/resources = /
WEB-INF is under MODULE_HOME/resources

Thanks,

--Todd



Attachment(s):
ProjectStructure.jpg
0

Please sign in to leave a comment.