Subversion Repositories bacoAlunos

Rev

Rev 279 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page import="pt.estgp.estgweb.web.utils.ProxyUtils" %>
<%@ page import="pt.estgp.estgweb.web.filters.TopImageFilter" %>
<%@ page contentType="text/html; charset=UTF-8"  language="java"%>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld"  prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld"  prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld"  prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld"  prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld"  prefix="tiles" %>
<table width="100%" style="background-image:url(<%=request.getContextPath()%>/imgs/topFundoTijolo.jpg)">
    <tr>
        <td>

            <%
                String link = (String) request.getAttribute(TopImageFilter.TOP_IMAGE);
                if (link == null)
                {
            %>
              <img alt="estg" src="<%=request.getContextPath()%>/imgs/top.jpg"/>
            <%
                }
                else
                {
            %>
              <img alt="estg" src="<%=link%>"/>
            <%
                }
            %>
        </td>
    </tr>
</table>