I am using the Struts html:img tag and I just moved my app from the root context to a different context. All the other Struts links I have seem to have prepended the context name in the link. The image tag didn't. Am I doing something wrong?
 
this jsp:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
 
<html:img src="/image/odtos_logo.gif" alt=""/>
 
 
generated:

<img src="/image/odtos_logo.gif" alt="">
 
 
when the context root in the application.xml of my ear file is: 
<context-root>odtos</context-root>
 
shouldn't it generate:
<img src="/odtos/image/odtos_logo.gif" alt="">
 
 
Thanks, Hal

Reply via email to