Hi, I was wondering why the .gifs aren't displaying correctly on this site when I do: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <HTML> <HEAD><TITLE> JSTL Practice </TITLE></HEAD> <BODY> Is this a site? <c:import url="www.1010wins.com"/> </BODY></HTML>
Thanks so much, Carmen
posted 9 years ago
It will not redirect the URL to web site www.1010wins.com. The <c:import> action treate it as reletive URL and not absolute URL. so it search /approot/www.1010wins.com in your servlet Context assumming that Your JSP file is placed at approot.