You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2006/01/09 02:59:47 UTC

svn commit: r367159 - in /webservices/axis2/trunk/java/modules/webapp: EngageToServiceGroup.jsp admin.jsp engagingglobally.jsp viewServiceContext.jsp

Author: chinthaka
Date: Sun Jan  8 17:59:39 2006
New Revision: 367159

URL: http://svn.apache.org/viewcvs?rev=367159&view=rev
Log:
- Fixing some typos
- removing un-necessary NP check

Modified:
    webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp
    webservices/axis2/trunk/java/modules/webapp/admin.jsp
    webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp
    webservices/axis2/trunk/java/modules/webapp/viewServiceContext.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp?rev=367159&r1=367158&r2=367159&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/EngageToServiceGroup.jsp Sun Jan  8 17:59:39 2006
@@ -12,7 +12,7 @@
     Iterator servicesGroups = (Iterator)request.getSession().getAttribute(Constants.SERVICE_GROUP_MAP);
 %>
 <h1>Engage Module for a Service Group</h1>
-<p>To engage a module for a set of services grouped a axisService group, first select the module you want to engage and then select the axisService group you like the module to be engaged on and click "Engage".</p>
+<p>To engage a module for a set of services grouped as a axisService group, first select the module you want to engage and then select the axisService group you like the module to be engaged on and click "Engage".</p>
 <%
 	if (!moduleCol.iterator().hasNext()) {%>
 		<p>No modules are present to be engaged.</p>

Modified: webservices/axis2/trunk/java/modules/webapp/admin.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/admin.jsp?rev=367159&r1=367158&r2=367159&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/admin.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/admin.jsp Sun Jan  8 17:59:39 2006
@@ -31,6 +31,6 @@
       }
   %>
 <jsp:include page="include/adminheader.jsp"></jsp:include>
-<h1>Welcome to the Axis2 web admin module!</h1>
-<p>The Axis2 administration system can be used to check on the health of your Axis2 deployment as well as to change any parameters at run time. Other than changing of parameters the web interface also has the ability to upload new services into Axis2[Service hot deployment.].</p>
+<h1>Welcome to Axis2 web admin module !!</h1>
+<p>The Axis2 administration system can be used to check on the health of your Axis2 deployment. And you may use it to change any parameters at run time. Other than changing of parameters the web interface also has the ability to upload new services into Axis2[Service hot deployment.].</p>
 <jsp:include page="include/adminfooter.jsp"></jsp:include>

Modified: webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp?rev=367159&r1=367158&r2=367159&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/engagingglobally.jsp Sun Jan  8 17:59:39 2006
@@ -1,63 +1,71 @@
- <%
-           /*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*
-*/
-        %>
+<%
+    /*
+    * Copyright 2004,2005 The Apache Software Foundation.
+    *
+    * Licensed under the Apache License, Version 2.0 (the "License");
+    * you may not use this file except in compliance with the License.
+    * You may obtain a copy of the License at
+    *
+    *      http://www.apache.org/licenses/LICENSE-2.0
+    *
+    * Unless required by applicable law or agreed to in writing, software
+    * distributed under the License is distributed on an "AS IS" BASIS,
+    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    * See the License for the specific language governing permissions and
+    * limitations under the License.
+    *
+    *
+    */
+%>
 
 <%@ page import="org.apache.axis2.Constants,
                  org.apache.axis2.description.ModuleDescription,
                  java.util.Collection,
                  java.util.HashMap,
-                 java.util.Iterator"%><html>
-<jsp:include page="include/adminheader.jsp"></jsp:include>
+                 java.util.Iterator" %>
+<html>
+<jsp:include page="include/adminheader.jsp">
+</jsp:include>
 <%
-    String status = (String)request.getSession().getAttribute(Constants.ENGAGE_STATUS);
+    String status = (String) request.getSession().getAttribute(Constants.ENGAGE_STATUS);
 %>
 <h1>Engage Module Globally</h1>
-<p>To engage a module on all services across the system, select a module from the combo box below and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch phase needs to be engaged globally.</p>
+
+<p>To engage a module on all services across the system, select a module from the combo box below
+    and click on the "Engage" button. Any module that needs to place handlers into the pre-dispatch
+    phase needs to be engaged globally.</p>
+
 <form method="get" name="selectModuleForm" action="engagingglobally">
-<table border="0" width="100%" cellspacing="1" cellpadding="1">
-<tr>
-<td width="15%">Select a Module :</td>
-<td width="75%" align="left">
-<select name="modules">
-            <%
-                HashMap moduels = (HashMap)request.getSession().getAttribute(Constants.MODULE_MAP);
-                Collection moduleCol =  moduels.values();
-                for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
-                    ModuleDescription axisOperation = (ModuleDescription) iterator.next();
-                    String modulename = axisOperation.getName().getLocalPart();
-            %> <option  align="left" value="<%=modulename%>"><%=modulename%></option>
-             <%
-                }
-             %>
-             </td>
-             </tr>
-             <tr><td>&nbsp;</td>
-             <td>
-             <input name="submit" type="submit" value=" Engage " >
-             </td>
-             </tr>
-             </table>
-             </form>
-              <%
-              if(status != null){
-                  %>
-                  <p><font color="blue"><%=status%></font></p>
-                  <%
-              } %>
-<jsp:include page="include/adminfooter.jsp"></jsp:include>
\ No newline at end of file
+    <table border="0" width="100%" cellspacing="1" cellpadding="1">
+        <tr>
+            <td width="15%">Select a Module :</td>
+            <td width="75%" align="left">
+                <select name="modules">
+                    <%
+                        HashMap moduels = (HashMap) request.getSession().getAttribute(Constants.MODULE_MAP);
+                        Collection moduleCol = moduels.values();
+                        for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
+                            ModuleDescription axisOperation = (ModuleDescription) iterator.next();
+                            String modulename = axisOperation.getName().getLocalPart();
+                    %> <option align="left" value="<%=modulename%>"><%=modulename%></option>
+                    <%
+                        }
+                    %>
+                </select>
+            </td>
+        </tr>
+        <tr><td>&nbsp;</td>
+            <td>
+                <input name="submit" type="submit" value=" Engage ">
+            </td>
+        </tr>
+    </table>
+</form>
+<%
+    if (status != null) {
+%>
+<p><font color="blue"><%=status%></font></p>
+<%
+    } %>
+<jsp:include page="include/adminfooter.jsp">
+</jsp:include>
\ No newline at end of file

Modified: webservices/axis2/trunk/java/modules/webapp/viewServiceContext.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/webapp/viewServiceContext.jsp?rev=367159&r1=367158&r2=367159&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/viewServiceContext.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/viewServiceContext.jsp Sun Jan  8 17:59:39 2006
@@ -2,10 +2,10 @@
 <%@ page import="org.apache.axis2.context.ConfigurationContext" %>
 <%@ page import="org.apache.axis2.context.ServiceContext" %>
 <%@ page import="org.apache.axis2.context.ServiceGroupContext" %>
+<%@ page import="org.apache.axis2.description.AxisService" %>
 <%@ page import="java.util.Hashtable" %>
 <%@ page import="java.util.Iterator" %>
 <%@ page import="java.util.Map" %>
-<%@ page import="org.apache.axis2.description.AxisService"%>
 <%--
   Created by IntelliJ IDEA.
   User: Indika Deepal
@@ -16,7 +16,7 @@
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <jsp:include page="include/adminheader.jsp">
 </jsp:include>
-<h1>Runing Context hierachy</h1>
+<h1>Running Context Hierarchy</h1>
 <%
     ConfigurationContext configContext = (ConfigurationContext) request.getSession().getAttribute(Constants.CONFIG_CONTEXT);
     Hashtable serviceGroupContextsMap = configContext.getServiceGroupContexts();
@@ -25,17 +25,14 @@
     String ID = request.getParameter("ID");
     ServiceGroupContext sgContext = (ServiceGroupContext) serviceGroupContextsMap.get(sgID);
     AxisService service = sgContext.getDescription().getService(ID);
-    ServiceContext serviceContext = null;
-    if (sgContext != null) {
-        serviceContext = sgContext.getServiceContext(service);
-    }
+    ServiceContext serviceContext = sgContext.getServiceContext(service);
     if (sgID != null && serviceContext != null) {
         if (type != null) {
             if ("VIEW".equals(type)) {
                 Map perMap = serviceContext.getProperties();
                 if (perMap.size() > 0) {
 %>
-<h4>Persistance properties</h4><ul>
+<h4>Persistance Properties</h4><ul>
     <%
         Iterator itr = perMap.keySet().iterator();
         while (itr.hasNext()) {
@@ -54,7 +51,7 @@
         }
     }
 } else {
-%> <h4>No Service Context found</h4><%
+%> <h4>No Service Context Found</h4><%
         }
     }
 %>