hi all,

i want to use context path in my page template.
now i  do like this :

@Inject
Request request;

public String getContext() {
      return request.getContextPath();
}

in .tml :

<img src="${context}/images/x.gif" />


any better way ? (for example a symbol or ...)

-- 
sincerely yours
M. H. Shamsi

Reply via email to