Hi Robert and Dave: I tried <c:url> in my application, and it works for almost all the case.
But there is one exception: In my application, i customized the CSS files shiped with Struts JQuery plugin and put them under path [{contextPath}/res/struts/]. In JSP, i need add code likes: <sj:head jquerytheme="redmond" scriptPath="%{contextPath}/res/struts/" /> to tell Struts JQuery plugin where to load js/css files. In this case, i think <c:url> can not help, because [contextPath] is a part of attribute value of another tag. I tried "%{#request.getContextPath()}", but it don't work for some reason i don't know. So i decide to remain my old solution(adding a property in my Action), so i can reference [contextPath] in Struts tags. Of cause, in simlpe URL case, <c:url> is a better choice. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org