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
请先登录再写评论。
Configure the Web Resource directory to the root directory containing both your resources and the WEB-INF directory.
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
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).
OK. I understand now. thanks.
I do want:
MODULE_HOME/resources = /
WEB-INF is under MODULE_HOME/resources
Thanks,
--Todd
Attachment(s):
ProjectStructure.jpg