Source Code Cross Referenced for JspPage.java in  » Sevlet-Container » apache-tomcat-6.0.14 » javax » servlet » jsp » 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 » Sevlet Container » apache tomcat 6.0.14 » javax.servlet.jsp 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Licensed to the Apache Software Foundation (ASF) under one or more
03:         * contributor license agreements.  See the NOTICE file distributed with
04:         * this work for additional information regarding copyright ownership.
05:         * The ASF licenses this file to You under the Apache License, Version 2.0
06:         * (the "License"); you may not use this file except in compliance with
07:         * the License.  You may obtain a copy of the License at
08:         *
09:         *     http://www.apache.org/licenses/LICENSE-2.0
10:         *
11:         * Unless required by applicable law or agreed to in writing, software
12:         * distributed under the License is distributed on an "AS IS" BASIS,
13:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14:         * See the License for the specific language governing permissions and
15:         * limitations under the License.
16:         */
17:        package javax.servlet.jsp;
18:
19:        import javax.servlet.*;
20:
21:        /**
22:         * The JspPage interface describes the generic interaction that a JSP Page
23:         * Implementation class must satisfy; pages that use the HTTP protocol
24:         * are described by the HttpJspPage interface.
25:         *
26:         * <p><B>Two plus One Methods</B>
27:         * <p>
28:         * The interface defines a protocol with 3 methods; only two of
29:         * them: jspInit() and jspDestroy() are part of this interface as
30:         * the signature of the third method: _jspService() depends on
31:         * the specific protocol used and cannot be expressed in a generic
32:         * way in Java.
33:         * <p>
34:         * A class implementing this interface is responsible for invoking
35:         * the above methods at the appropriate time based on the
36:         * corresponding Servlet-based method invocations.
37:         * <p>
38:         * The jspInit() and jspDestroy() methods can be defined by a JSP
39:         * author, but the _jspService() method is defined automatically
40:         * by the JSP processor based on the contents of the JSP page.
41:         *
42:         * <p><B>_jspService()</B>
43:         * <p>
44:         * The _jspService()method corresponds to the body of the JSP page. This
45:         * method is defined automatically by the JSP container and should never
46:         * be defined by the JSP page author.
47:         * <p>
48:         * If a superclass is specified using the extends attribute, that
49:         * superclass may choose to perform some actions in its service() method
50:         * before or after calling the _jspService() method.  See using the extends
51:         * attribute in the JSP_Engine chapter of the JSP specification.
52:         * <p>
53:         * The specific signature depends on the protocol supported by the JSP page.
54:         *
55:         * <pre>
56:         * public void _jspService(<em>ServletRequestSubtype</em> request,
57:         *                             <em>ServletResponseSubtype</em> response)
58:         *        throws ServletException, IOException;
59:         * </pre>
60:         */
61:
62:        public interface JspPage extends Servlet {
63:
64:            /**
65:             * The jspInit() method is invoked when the JSP page is initialized. It
66:             * is the responsibility of the JSP implementation (and of the class
67:             * mentioned by the extends attribute, if present) that at this point
68:             * invocations to the getServletConfig() method will return the desired
69:             * value.
70:             *
71:             * A JSP page can override this method by including a definition for it
72:             * in a declaration element.
73:             *
74:             * A JSP page should redefine the init() method from Servlet.
75:             */
76:            public void jspInit();
77:
78:            /**
79:             * The jspDestroy() method is invoked when the JSP page is about to be
80:             * destroyed.
81:             * 
82:             * A JSP page can override this method by including a definition for it
83:             * in a declaration element.
84:             *
85:             * A JSP page should redefine the destroy() method from Servlet.
86:             */
87:            public void jspDestroy();
88:
89:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.