manveen 02/04/08 17:06:45 Added: webapps/admin/valve accessLogValve.jsp Log: Added JSP For Access Log Valve. Revision Changes Path 1.1 jakarta-tomcat-4.0/webapps/admin/valve/accessLogValve.jsp Index: accessLogValve.jsp =================================================================== <!-- Standard Struts Entries --> <%@ page language="java" import="java.net.URLEncoder" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/controls.tld" prefix="controls" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <html:html locale="true"> <%@ include file="../users/header.jsp" %> <!-- Body --> <body bgcolor="white"> <!--Form --> <html:errors/> <html:form method="POST" action="/SaveAccessLogValve"> <bean:define id="thisObjectName" type="java.lang.String" name="accessLogValveForm" property="objectName"/> <html:hidden property="adminAction"/> <html:hidden property="parentObjectName"/> <html:hidden property="objectName"/> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="7171A5"> <td width="81%"> <div class="page-title-text" align="left"> <logic:equal name="accessLogValveForm" property="adminAction" value="Create"> <bean:message key="actions.valves.create"/> </logic:equal> <logic:equal name="accessLogValveForm" property="adminAction" value="Edit"> <bean:message key="actions.valves.edit"/> </logic:equal> </div> </td> <td width="19%"> <div align="right"> <controls:actions> <controls:action selected="true"> ----<bean:message key="actions.available.actions"/>---- </controls:action> <controls:action> --------------------------------- </controls:action> <logic:notEqual name="accessLogValveForm" property="adminAction" value="Create"> <%-- <controls:action url='<%= "/DeleteValve.do?select=" + URLEncoder.encode(thisObjectName) %>'> <bean:message key="actions.valves.delete"/> </controls:action> --%> </logic:notEqual> </controls:actions> </div> </td> </tr> </table> <%@ include file="../buttons.jsp" %> <br> <%-- Access Log Properties --%> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td> <div class="table-title-text"> <bean:message key="valve.access.properties"/> </div> </td> </tr> </table> <table class="back-table" border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td> <controls:table tableStyle="front-table" lineStyle="line-row"> <controls:row header="true" labelStyle="table-header-text" dataStyle="table-header-text"> <controls:label><bean:message key="service.property"/></controls:label> <controls:data><bean:message key="service.value"/></controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="valve.class"/>:</controls:label> <controls:data> <logic:equal name="accessLogValveForm" property="adminAction" value="Create"> <html:select property="valveType" onchange="IA_jumpMenu('self',this)"> <bean:define id="valveTypeVals" name="accessLogValveForm" property="valveTypeVals"/> <html:options collection="valveTypeVals" property="value" labelProperty="label"/> </html:select> </logic:equal> <logic:equal name="accessLogValveForm" property="adminAction" value="Edit"> <bean:write name="accessLogValveForm" property="valveType" scope="session"/> </logic:equal> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="server.debuglevel"/>:</controls:label> <controls:data> <html:select property="debugLvl"> <bean:define id="debugLvlVals" name="accessLogValveForm" property="debugLvlVals"/> <html:options collection="debugLvlVals" property="value" labelProperty="label"/> </html:select> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="logger.directory"/>:</controls:label> <controls:data> <html:text property="directory" size="30"/> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="valve.pattern"/>:</controls:label> <controls:data> <html:textarea property="pattern" cols="30" rows="3"/> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="logger.prefix"/>:</controls:label> <controls:data> <html:text property="prefix" size="30"/> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="valve.resolveHosts"/>:</controls:label> <controls:data> <html:select property="resolveHosts"> <bean:define id="booleanVals" name="accessLogValveForm" property="booleanVals"/> <html:options collection="booleanVals" property="value" labelProperty="label"/> </html:select> </controls:data> </controls:row> <controls:row labelStyle="table-label-text" dataStyle="table-normal-text"> <controls:label><bean:message key="logger.suffix"/>:</controls:label> <controls:data> <html:text property="suffix" size="30"/> </controls:data> </controls:row> </controls:table> </td> </tr> </table> <%@ include file="../buttons.jsp" %> <br> </html:form> <p> </p> </body> </html:html>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>