Our client needs the templates to be changed (static part) outside of the WAR (where we have our Aspose jar and Java for report generation).
Is there any way we can configure to load these templates when our application loads?
This is for maintainability purpose, so that the templates can be changed without any code change in the WAR? If that is possible, will we need a server restart to reflect those changes in templates?
Thanks for your request. Yes, why not. You can open template from explicit path, for example.
// Open document. Document doc = new Document("C:\Temp\in.doc");
So, your client can just replace the old template with new one.