TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Java Servlets

    JSP Architecture

    Overview

    In this tutorial, we will learn about JSP Architecture. JSP stands for Java Server Pages. JSP technology enables Java programmers to embed Java code into HTML pages. JSP files will be compiled into a servlet by the JSP engine. The compiled servlet is used by the JSP engine to serve the client’s requests.

    JSP Interfaces

    The main JSP interfaces are defined in the javax.servlet.jsp package. The interfaces are as follows::

    • JSPPage
    • HttpJspPage

    These interfaces define the three methods for the compiled JSP page. The methods are as follows::

    • jspInit()
    • jspDestroy()
    • _jspService(HttpServletRequest request, HttpServletResponse response)

     

    The compiled JSP file contains the above methods. The JSP engine generates the _jspService() method. Developers can define the jspInit() and jspDestroy() methods.

    —

    Java Tutorials

    Java Tutorial on this website:

    https://www.testingdocs.com/java-tutorial/

    For more information on Java, visit the official website :

    https://www.oracle.com/java/

    Related Posts

    Java Servlets /

    Java ServletRequest Interface

    Model View Controller

    Java Servlets /

    Model View Controller( MVC )

    Java Servlets /

    Deployment Descriptor File (web.xml)

    Java Servlets /

    GenericServlet Class

    Java Servlet Architecture

    Java Servlets /

    Java Servlet Architecture

    ‹ Java ServletRequest Interface

    Recent Posts

    • Running Tests in Parallel with Selenium Grid
    • Advanced Selenium Features
    • Locating Web Elements
    • Running the Test Script
    • Writing Your First Selenium Test Script
    • Getting Started with Selenium Automation Testing
    • Setting Up the Environment
    • How can you monitor the Quality Assurance Audit?
    • Leveraging LambdaTest with Appium 2.0
    • Appium 2.0 Plugins ListAppium 2.0 Plugins
    • Touch Actions and Multi-Touch Actions
    • Changes in Drivers and Classes
    • Appium Inspector
    • Capabilities in Appium 2.0
    • Appium 2.0 Driver ListAppium 2.0 Driver Installation & Management
    CyberLink Multimedia Software

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com