I have been working with Struts for some time, but for the project I'm finishing, I was asked to separate Templates (.vm speed files), configs (struts.xml, persistence.xml) from the main WAR file.
I have everything in the default structure, for example:
application
| - META-INF - Some configs are here
| - WEB-INF - others here
| | - classes
| | | - META-INF
| | `- mypackage
| | `- class-files
| `- lib
| - css
`- tpl - Template dir to be relocated
And I apparently cannot find the documentation on how to configure (possibly in struts.xml) where my templates go and where the configuration files will be.
I think I will have to use the configurations on the application server too (I am using Jetty 5.1.14).
So, any lights on how to set it up?
thank
So, with regard to changing templates, it is to place the templates in an accessible area of ββthe designer, so any necessary changes, the designer can download them to his computer, edit and download again. I think this is a common scenario. Therefore, probably, I missed something in my research. Maybe I'm focusing on setting it in the wrong place ... Any thoughts?
source
share