struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10610] New: - html:img tag not resolving "src" attribute properly
Date Tue, 09 Jul 2002 20:32:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10610>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10610

html:img tag not resolving "src" attribute properly

           Summary: html:img tag not resolving "src" attribute properly
           Product: Struts
           Version: 1.0.2 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: tahasam@yahoo.com


When using a relative url of the form "../../somedir/somefile.gif an exception 
is thrown:

java.lang.IllegalArgumentException: ../../images/logon.gif
	at org.apache.catalina.connector.HttpResponseBase.toAbsolute
(HttpResponseBase.java:705)
	at org.apache.catalina.connector.HttpResponseBase.encodeURL
(HttpResponseBase.java:999)
	at org.apache.catalina.connector.HttpResponseFacade.encodeURL
(HttpResponseFacade.java:122)
	at org.apache.struts.taglib.html.ImgTag.doEndTag(ImgTag.java:511)
	at org.apache.jsp.loggedOut$jsp._jspService(loggedOut$jsp.java:240)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message