<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<base href="<%=basePath%>">
<img src="images/gmmb.jpg" width="53" height="44" alt="购买宝令" />
用的相对路径在IE下得不到图片, 其他浏览器正常
在IE下的地址变成
"http://%20http//localhost:80/selfservice/images/gmmb.jpg"