I'm creating a Java EE web application and I need to design it in a modular way. My idea was to create the core .war package and in case of need add some modules as it's .jar libraries. My question is: Can i put for example html, jsp, css etc. inside the jar bundled with .war and how can I access them from the .war?
For example if the customer needs a discussion forum, I'd like to add the .jar module including all required JSPs, CSS and so on and make it accessible like
http://my-web.com/forum/index.jsp
Thanks