<%@ page language="java" import="java.lang.*,java.util.*" %> <% String protocol = request.getProtocol(); if(protocol.startsWith("HTTPS")){ protocol = "https://"; }else{ protocol = "http://"; } String pathToRoot = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; pageContext.setAttribute("rootpath",pathToRoot); //variable for calculating row color int status = 0; int substatus=0; %>