Hi All,
I have downloaded a model glue application named "PlantOMatic". I have performed the basic step for set up and it is running.
But I have question regarding "coldspring.xml" file.
There is a section like following
<!-- Where to find necessary files -->
<property name="configurationPath"><value>config/ModelGlue.xml</value></property>
<property name="applicationMapping"><value>/PlantOMatic</value></property>
<property name="viewMappings"><value>/PlantOMatic/views</value></property>
<property name="helperMappings"><value>/PlantOMatic/helpers</value></property>
From the above snippet we can see that for the property "configurationPath" we are using config/ModelGlue.xml which I understand that inside "PlantOMatic"
which is my root folder for this application there will be a folder "config"
but for the property "viewMappings", "helperMappings" it is "/PlantOMatic/views" and "/PlantOMatic/helpers".
My question is why I need to use "/PlantOMatic" when my "views" and "helpers" folder are just inside "PlantOMatic".
"\PlantOMatic\views"
"\PlantOMatic\helpers"
Why can't I write it like
<property name="helperMappings"><value>/views</value></property>
<property name="helperMappings"><value>/views</value></property>
and what is the need of this mapping
<property name="applicationMapping"><value>/PlantOMatic</value></property>
when I am acessing my application like the following way.
Please help.
Thanks