• TestingDocs
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

Java Server Pages

Overview

Java Server Pages (JSP) is a Java-based technology that simplifies the process of developing interactive and dynamic websites. JSP with Java and HTML tags can easily make static web pages dynamic.

Java Server Pages are source files with .jsp file extensions. JSP files contain embedded Java code and HTML tags. The web programmer can access data from Java code running on the server.

Some earlier or alternative technologies to create dynamic web content were as follows:

  • CGI(Common Gateway Interface)
  • ASP(Active Server Pages)

CGI

CGI provides a mechanism for the server to pass the requested information to external programs. These external programs are run by the web server to create the requested data at runtime.

ASP

ASP(Active Server Pages) technology is developed by Microsoft Corporation. ASP supports Microsoft’s Internet Information Server (IIS) running under Windows OS. ASP supports multiple
scripting languages like PerlScript, VBScript, etc. VBScript is the default and supports ActiveX components which are compiled code objects that provide dynamic content. It can access the database and can perform file manipulations.

JSP makes webpage dynamic

When a JSP page on the server is requested by the website user, the Java code from HTML tags is separated, compiled, and executed. The result is supplied back to the page. The result is communicated as a response to the user.

Related Posts

Java Servlets /

JSP Architecture

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

‹ Session Management› Java Servlet API

Recent Posts

  • How to secure your SQL Database: Tips and Tricks
  • Shaping the Future of Development: Exploring Key Trends in Software Engineering
  • Improving Java Performance with Multithreading
  • Difference between PHP and JavaScript?
  • Bing Conversation Styles
  • ChatGPT Introduction
  • Open Source AI Frameworks
  • Artificial Intelligence Tools
  • Top AI Music Applications
  • Top AI Website Design Tools

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com