manveen 02/05/21 16:45:38
Modified: webapps/admin/context contexts.jsp
webapps/admin/host hosts.jsp
Log:
Look for the host name pattern in the ObjectName to identify the host and context
the admin app is running on.
Revision Changes Path
1.6 +2 -2 jakarta-tomcat-4.0/webapps/admin/context/contexts.jsp
Index: contexts.jsp
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/context/contexts.jsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- contexts.jsp 10 May 2002 22:41:40 -0000 1.5
+++ contexts.jsp 21 May 2002 23:45:38 -0000 1.6
@@ -65,10 +65,10 @@
<tr class="line-row">
<td><div align="left" class="table-normal-text">
<%-- admin context cannot be deleted from the tool --%>
- <logic:match name="context" value='<%= request.getContextPath() %>'>
+ <logic:match name="context" value='<%=
"path="+request.getContextPath()+"," %>'>
<font color='red'>*</font>
</logic:match>
- <logic:notMatch name="context" value='<%= request.getContextPath()
%>'>
+ <logic:notMatch name="context" value='<%=
"path="+request.getContextPath()+"," %>'>
<html:multibox property="contexts"
value="<%= context.toString() %>"/>
</logic:notMatch>
1.4 +2 -2 jakarta-tomcat-4.0/webapps/admin/host/hosts.jsp
Index: hosts.jsp
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/host/hosts.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hosts.jsp 10 May 2002 22:41:40 -0000 1.3
+++ hosts.jsp 21 May 2002 23:45:38 -0000 1.4
@@ -57,10 +57,10 @@
<logic:iterate name="hostsList" id="host">
<tr class="line-row">
<td><div align="left" class="table-normal-text">
- <logic:match name="host" value='<%= request.getServerName() %>'>
+ <logic:match name="host" value='<%=
"host="+request.getServerName()+"," %>'>
<font color='red'>*</font>
</logic:match>
- <logic:notMatch name="host" value='<%= request.getServerName() %>'>
+ <logic:notMatch name="host" value='<%=
"host="+request.getServerName()+"," %>'>
<html:multibox property="hosts"
value="<%= host.toString() %>"/>
</logic:notMatch>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>