Hi All, We plan to define path-variables wrt to the static components in our application. e.g. We have 1) a variable image_path for all images in <app>/images/ 2) a variable css_path for all .css stylesheets in <app>/css/ etc. etc.
We have thought of a strategy: define all variable declarations in a settings.jsp and include this jsp in all other subsequent jsps.
But we are not able to get the values variable when html is rendered. The values of all variable in subsequent jsps is printed as "" (empty string)
Here is the part related:
settings. jsp - ... ... <%String url =(String) application.getInitParameter("MyApplication"); // The value of url when printled here is "/myapp" String images_url = url + "/images";%> ... ...