@filepath() Function |
![]() ![]() ![]() |
@filepath() function assumes that the given string is a file name relative to the root folder of the web application and returns its absolute file name. Syntax: @filepath(string-expression)
Example: @filepath('WEB-INF/MM-INF/config/datasources.xml')
If the root folder of the web application is 'c:/tomcat/webapps/test' then the result would be c:/tomcat/webapps/test/WEB-INF/MM-INF/config/datasources.xml |