Java Server Page (JSP) is a technology that helps create web applications similarly to servlets. JSP pages contain HTML code and JSP tags, making them easier to maintain than servlets by separating design from development. JSP provides additional features like expression language and custom tags. JSP is an extension of servlets and allows using implicit objects, predefined tags, and expression language to simplify development compared to servlets. A JSP page is translated to a servlet by the JSP translator, then compiled and executed similarly to servlets through initialization, request processing, and destruction.
JSP technology has facilitated the segregation of the work of a Web designer and a Web developer.
A Web designer can design and formulate the layout for the Web page by using HTML.
On the other hand, a Web developer working independently can use java code and other JSP specific tags to code the business logic.
The simultaneous construction of the static and dynamic content facilitates development of quality applications with increased productivity.
JSP technology has facilitated the segregation of the work of a Web designer and a Web developer.
A Web designer can design and formulate the layout for the Web page by using HTML.
On the other hand, a Web developer working independently can use java code and other JSP specific tags to code the business logic.
The simultaneous construction of the static and dynamic content facilitates development of quality applications with increased productivity.
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
Topics Covered
==============================
Overview of .NET
Overview of ASP.NET
Creating an ASP.NET Web Form
Adding Event Procedures
Validating User Input
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
https://www.youtube.com/watch?v=lKrbeJ7-J98
HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
Just a simple intro to typescript.
Most of the contents are of any OO language, hence slide contents are minimal. If anyone need any further help, reach me out - akhil2369492@gmail.com
-Akhil
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
Topics Covered
==============================
Overview of .NET
Overview of ASP.NET
Creating an ASP.NET Web Form
Adding Event Procedures
Validating User Input
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
https://www.youtube.com/watch?v=lKrbeJ7-J98
HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
Just a simple intro to typescript.
Most of the contents are of any OO language, hence slide contents are minimal. If anyone need any further help, reach me out - akhil2369492@gmail.com
-Akhil
This is a step by step slides to study JSP, all the concepts which are required for a JSP are present in this ppt. The whole JSP is divided into SESSIONS.
JSP technology is used to create web application just like Servlet technology. It can be thought of as an extension to Servlet because it provides more accuracy.
A JSP page consists of HTML tags and JSP tags. The JSP pages are easier to maintain than Servlet because we can separate designing and development. It provides some additional features such as Expression Language, Custom Tags, etc. Extension to Servlet, Easy to maintain, Fast Development: No need to recompile and redeploy, Less code than Servlet
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...WebStackAcademy
Creating JavaServer Pages (JSP) files
Most types of JSP files can be created using the New JSP File wizard. To create a basic JSP file using the wizard, complete the following steps:
Create a dynamic Web project if you have not already done so.
In the Project Explorer, expand your project and right click on your WebContent folder or on a subfolder under WebContent. Note that if you choose any other folder in which to create the JSP, then it will not be included in the WAR file that is deployed to the server. In addition, link validation will not encompass files that are not under the WebContent folder.
From the context menu, select New > JSP. The New Java Server Page window appears with your folder selected
Type a file name into the File name field, making sure you include the jsp extension (jsp, jsv, jtpl, or jspx) in the file name.
You have several options for proceeding:
To accept the defaults associated with a new JSP file, select Finish.
To link to a file in the file system and specify path variables, select Advanced and then make your selections using the Browse and Variables buttons.
To use a template file for the initial content of your JSP page, select Next. The Select JSP Template window appears. Select the Use JSP Template check box, and then select one of the sample templates. You can also select the JSP Templates link to add or remove JSP templates to your list of templates.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
1. Java Server Page
• Deisigned By:
• Shivendra Srivastwa
• Java and Android consultant
2. Java Server Page (JSP)
JSP technology is used to create web
application just like Servlet technology. It
can be thought of as an extension to the
servlet because it provides more
functionality than servlet.
A JSP page contains HTML code and
JSP tags. The jsp pages are easier to
maintain than servlet because we can
separate designing and development. It
provides some additional features such
as Expression Language, Custom Tag
etc.
3. Advantage of JSP over
Servlet
JSP is the extension to the servlet
technology. We can use all the features of
Servlet in JSP.
In addition to, we can use implicit
objects, predefined tags, expression
language and Custom tags in JSP, that
makes JSP development easy.
JSP can be easily managed because we can
easily separate our business logic with
presentation logic. In servet, we mix our
business logic with the presentation logic.
If JSP page is modified, we don't need to
redeploy the project. The servlet code needs
to be updated and recompiled if we have to
change the look and feel of the application.
4. Life cycle of a JSP Page
Compilation of JSP Page
Classloading (class file is loaded by the
classloader)
Instantiation (Object of the Generated
Servlet is created).
Initialization ( jspInit() method is invoked
by the container).
Reqeust processing ( _jspService()
method is invoked by the container).
Destroy ( jspDestroy() method is invoked
by the container)
5. JSP page is translated into servlet by the help of JSP
translator. The JSP translator is a part of webserver that is
responsible to translate the JSP page into servlet. Afterthat
Servlet page is compiled by the compiler and gets converted
into the class file. Moreover, all the processes that happens in
servlet is performed on JSP later like initialization, commiting
response to the browser and destroy.
7. The JSP API
The JSP API consists of two packages:
1. javax.servlet.jsp package
2. javax.servlet.jsp.tagext
8. javax.servlet.jsp package
The Interfaces are as follows:
1. JspPage
HttpJspPage
The classes are as follows:
1. JspWriter
2. PageContext
3. JspFactory
4.JspEngineInfo
5.JspExceptionJspError
2.
9. According to the JSP
specification, all the generated
servlet classes must
implement the JspPage
interface. It extends the Servlet
interface. It provides two life
cycle methods.
The JspPage interface
10. METHODS OF JSPPAGE
INTERFACE
public void jspInit()
It is invoked only
once during the life
cycle of the JSP
when JSP page is
requested firstly. It
is used to perform
initialization. It is
same as the init()
method of Servlet
interface.
public void
jspDestroy():
It is invoked only
once during the life
cycle of the JSP
before the JSP
page is destroyed.
It can be used to
perform some clean
up operation.
11. THE HTTPJSPPAGE
INTERFACE
public void _jspService():
It is invoked each time when request for
the JSP page comes to the container. It
is used to process the request. The
underscore _ signifies that you cannot
override this method.
12. JSP scripting Element
The scripting elements provides the
ability to insert java code inside the
jsp. There are three types of scripting
elements:
Scripting elements:
◦ 1. scriptlet tag
◦ 2. expression tag
◦ 3. declaration tag
13. Scriptlet tag
A scriptlet tag is used to execute java
source code in JSP. Syntax is as
follows:
Syntax:
<% java source code %>
14. JSP expression tag
The code placed within expression tag
is written to the output stream of the
response.
So you need not write out.print() to
write data. It is mainly used to print the
values of variable or method.
Syntax: <%= statement %>
15. JSP declaration tag
The JSP declaration tag is used to
declare fields and methods. The code
written inside the jsp declaration tag is
placed outside the service() method of
auto generated servlet. So it doesn't
get memory at each request
Syntax:
<%! statement %>
16. Difference between the jsp
scriptlet tag and jsp declaration
tag
The jsp scriptlet tag can only declare
variables not methods whereas jsp
declaration tag can declare variables
as well as methods.
The declaration of scriptlet tag is
placed inside the _jspService()
method whereas the declaration of jsp
declaration tag is placed outside the
_jspService() method.
17. Implicit Object
There are 9 implicit objects available
for the JSP page. The Auto Generated
Servlet contains many objects like out,
request, config, session, application
etc.
18.
19. out implicit object
For writing any data to the buffer, JSP
provides an implicit object named out.
Syntax:
out.print();
20. request implicit object
In JSP, request is an implicit object of
type HttpServletRequest. Let's see the
simple example of request implicit
object where we are printing the name
of the user with welcome message.
eg: request.getParameter
21. response implicit object
In JSP, response is an implicit object
of type HttpServletResponse. Let's
see the example of response implicit
object where we are redirecting the
request to the Google.
22. config implicit object
In JSP, config is an implicit object of
type ServletConfig. This object can be
used to get configuration information
for a particular JSP page.
This variable information can be used
for one jsp page only.
23. application implicit object
In JSP, application is an implicit object
of type ServletContext.This object can
be used to get configuration
information from configuaration
file(web.xml). This variable information
can be used for all jsp pages.
24. session implicit object
In JSP, session is an implicit object of
type HttpSession.The Java developer
can use this object to set,get or
remove attribute or to get session
information.
25. pageContext implicit object
In JSP, pageContext is an implicit
object of type PageContext class.The
pageContext object can be used to
set,get or remove attribute from one of
the following scopes:
i. Page
ii. Request
Iii. Session iv. Application
Note: page scope is the default scope
26. exception implicit object
In JSP, exception is an implicit object
of type java.lang.Throwable class.
This object can be used to print the
exception. But it can only be used in
error pages.It is better to learn it after
page directive. Let's see a simple
example: