dusken/annonseweb — comment on commit cce22e18b2f311fe05b2f2dee3812cf95bdea3c4
File: core/src/main/java/no/annonseweb/control/MenuController.java line 10
By magnuskiro:

views can be mapped to "folder/file", eks: "dropmenu" instead of "no/dusken/annonseweb/web/dropmenu". In the case where the .vm file is in a subfolder of web we get "invoices/invoiceList" This is because the prefix to the view resolver points to "no/dusken/annonseweb/web/" and the suffix points to ".vm". Combining this we get "no/dusken/annonseweb/web/dropmenu.vm" or "no/dusken/annonseweb/web/invoices/invoiceList.vm" which is the actual path to a view. By having prefix and suffix, we save some time writing code.