<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- jstl1.2--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%@page  import="com.juuluu.gres.web.client.java.Gres,com.juuluu.gres.web.client.java.GresConig" %>
<%@ page isELIgnored="false" %> 
<% Gres g=(Gres)application.getAttribute("gres"); 
com.juuluu.gres.web.client.java.GresConig gc=   g.getResConfig();

request.setAttribute("gc", gc);
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Gres Lib Java Web Client!</title>
        
          
<link href="../gresc/style.css" rel="stylesheet" type="text/css" />
    
    </head>
    <body>
        
        
        <h1>Gres Lib Java Web Client!</h1>
        
    <div id="wrap">
        <div id="header">
            <div id="nav">
            <a href="./index.jsp">Return Index </a>
                       </div>
        </div>
        
        <div id="content">
           
            <p>Resource Server Host(EL): ${gc.resHost}</p>
         <p>Resource Serve Port: <%=gc.getResPort()%></p>
         <p>Resource Serve User: ${gc.resUser}</p>
        </div>
    </div>
        
    </body>
</html>
