Java Doc for HTMLManagerServlet.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » catalina » servlets » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.apache.catalina.servlets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.catalina.servlets.ManagerServlet
   org.apache.catalina.servlets.HTMLManagerServlet

HTMLManagerServlet
final public class HTMLManagerServlet extends ManagerServlet (Code)
Servlet that enables remote management of the web applications installed within the same virtual host as this web application is. Normally, this functionality will be protected by a security constraint in the web application deployment descriptor. However, this requirement can be relaxed during testing.

The difference between this ManagerServlet and this Servlet is that this Servlet prints out a HTML interface which makes it easier to administrate.

However if you use a software that parses the output of ManagerServletManagerServlet
author:
   Bip Thelin
author:
   Malcolm Edgar
version:
   $Revision: 1.8 $, $Date: 2002/06/13 14:58:01 $
See Also:   ManagerServlet





Method Summary
public  voiddoGet(HttpServletRequest request, HttpServletResponse response)
     Process a GET request for the specified resource.
protected  voidinstall(PrintWriter writer, String config, String path, String war)
     Install an application for the specified path from the specified web application archive.
public  voidlist(PrintWriter writer, String message)
     Render a HTML list of the currently active Contexts in our virtual host, and memory and server status information.
protected  voidreload(PrintWriter writer, String path)
     Reload the web application at the specified context path.
protected  voidremove(PrintWriter writer, String path)
     Remove the web application at the specified context path.
public  voidsessions(PrintWriter writer, String path)
     Display session information and invoke list.
public  voidstart(PrintWriter writer, String path)
     Start the web application at the specified context path.
protected  voidstop(PrintWriter writer, String path)
     Stop the web application at the specified context path.



Method Detail
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)
Process a GET request for the specified resource.
Parameters:
  request - The servlet request we are processing
Parameters:
  response - The servlet response we are creating
exception:
  IOException - if an input/output error occurs
exception:
  ServletException - if a servlet-specified error occurs



install
protected void install(PrintWriter writer, String config, String path, String war)(Code)
Install an application for the specified path from the specified web application archive.
Parameters:
  writer - Writer to render results to
Parameters:
  config - URL of the context configuration file to be installed
Parameters:
  path - Context path of the application to be installed
Parameters:
  war - URL of the web application archive to be installed



list
public void list(PrintWriter writer, String message)(Code)
Render a HTML list of the currently active Contexts in our virtual host, and memory and server status information.
Parameters:
  writer - Writer to render to
Parameters:
  message - a message to display



reload
protected void reload(PrintWriter writer, String path)(Code)
Reload the web application at the specified context path.
See Also:   ManagerServlet.reload(PrintWriterString)
Parameters:
  writer - Writer to render to
Parameters:
  path - Context path of the application to be restarted



remove
protected void remove(PrintWriter writer, String path)(Code)
Remove the web application at the specified context path.
See Also:   ManagerServlet.remove(PrintWriterString)
Parameters:
  writer - Writer to render to
Parameters:
  path - Context path of the application to be removed



sessions
public void sessions(PrintWriter writer, String path)(Code)
Display session information and invoke list.
See Also:   ManagerServlet.sessions(PrintWriterString)
Parameters:
  writer - Writer to render to
Parameters:
  path - Context path of the application to list session information for



start
public void start(PrintWriter writer, String path)(Code)
Start the web application at the specified context path.
See Also:   ManagerServlet.start(PrintWriterString)
Parameters:
  writer - Writer to render to
Parameters:
  path - Context path of the application to be started



stop
protected void stop(PrintWriter writer, String path)(Code)
Stop the web application at the specified context path.
See Also:   ManagerServlet.stop(PrintWriterString)
Parameters:
  writer - Writer to render to
Parameters:
  path - Context path of the application to be stopped



Fields inherited from org.apache.catalina.servlets.ManagerServlet
protected Context context(Code)(Java Doc)
protected int debug(Code)(Java Doc)
protected File deployed(Code)(Java Doc)
protected Deployer deployer(Code)(Java Doc)
protected javax.naming.Context global(Code)(Java Doc)
protected static StringManager sm(Code)(Java Doc)
protected Wrapper wrapper(Code)(Java Doc)

Methods inherited from org.apache.catalina.servlets.ManagerServlet
protected synchronized void deploy(PrintWriter writer, String path, HttpServletRequest request)(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
public void doPut(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc)
protected void extractXml(File war, File xml) throws IOException(Code)(Java Doc)
public Wrapper getWrapper()(Code)(Java Doc)
public void init() throws ServletException(Code)(Java Doc)
protected void install(PrintWriter writer, String config, String path, String war)(Code)(Java Doc)
protected void list(PrintWriter writer)(Code)(Java Doc)
protected void printResources(PrintWriter writer, String prefix, javax.naming.Context namingContext, String type, Class clazz)(Code)(Java Doc)
protected void reload(PrintWriter writer, String path)(Code)(Java Doc)
protected void remove(PrintWriter writer, String path)(Code)(Java Doc)
protected void resources(PrintWriter writer, String type)(Code)(Java Doc)
protected void roles(PrintWriter writer)(Code)(Java Doc)
protected void sessions(PrintWriter writer, String path)(Code)(Java Doc)
public void setWrapper(Wrapper wrapper)(Code)(Java Doc)
protected void start(PrintWriter writer, String path)(Code)(Java Doc)
protected void stop(PrintWriter writer, String path)(Code)(Java Doc)
protected void undeploy(PrintWriter writer, String path)(Code)(Java Doc)
protected void undeployDir(File dir)(Code)(Java Doc)
protected void uploadWar(HttpServletRequest request, File war) throws IOException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.