Package com.boylesoftware.cb2.admin.servlet

CB2 administrative servlet and its data.

See:
          Description

Class Summary
AdminServlet Servlet, which displays the CB2 Application Status/Administration page and processes adminitstrative actions submitted from it.
 

Package com.boylesoftware.cb2.admin.servlet Description

CB2 administrative servlet and its data.

Whe using Apache Struts based presentation level this servlet may become very handy. It shows various operational information about the application and its environment. It also provides some basic administrative actions such as reinitialization of some subsystems like application properties and database access level.

To deploy the servlet add its descriptor to your web.xml file. For example:

...

<servlet>
  <servlet-name>admin</servlet-name>
  <display-name>The CB2 Application Status/Admin Page</display-name>
  <servlet-class>com.boylesoftware.cb2.admin.servlet.AdminServlet</servlet-class>
  <load-on-startup>13</load-on-startup>
</servlet>

...

<servlet-mapping>
  <servlet-name>admin</servlet-name>
  <url-pattern>/cb2-admin</url-pattern>
</servlet-mapping>

...

Note that we use load-on-startup element to load the admin servlet after the main Struts action servlet.



Copyright © 2002,2003,2004 - Boyle Software, Inc.