This slide is about basics of java servlet and java server page.
A basic example of JSP using multiple directives.
Further information of setting up and using of Apache Tomcat server.
This is the most important concept in advance java. Why java is so much popular than other? answer is its implicit objects. It provides many implicit object in the library. So you don't need to declare object to use it. You just have to use whenever you need it.
This slide is about basics of java servlet and java server page.
A basic example of JSP using multiple directives.
Further information of setting up and using of Apache Tomcat server.
This is the most important concept in advance java. Why java is so much popular than other? answer is its implicit objects. It provides many implicit object in the library. So you don't need to declare object to use it. You just have to use whenever you need it.
jsp implicit objects (predefined java objects)
jsp implicit objects are java objects that the jsp container makes available to developers in each page so that developer can call them directly without being explicitly declared......
there are 9 pre defined objects in jsp... which are being discussed in this ppt with diagram representation and fewer points..... not full information in slides ... just prepared for presentation purpose.... so u have to do the research work from internet and you tube.....
this ppt is self prepared and taken reference form you tube
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.
In this presentation i have explained basic concept of jsp. JSP life cycle and jsp calling mechanism, implicit object of jsp. and further knowledge i explain in near future. this tutorial to be continued...
jsp implicit objects (predefined java objects)
jsp implicit objects are java objects that the jsp container makes available to developers in each page so that developer can call them directly without being explicitly declared......
there are 9 pre defined objects in jsp... which are being discussed in this ppt with diagram representation and fewer points..... not full information in slides ... just prepared for presentation purpose.... so u have to do the research work from internet and you tube.....
this ppt is self prepared and taken reference form you tube
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.
In this presentation i have explained basic concept of jsp. JSP life cycle and jsp calling mechanism, implicit object of jsp. and further knowledge i explain in near future. this tutorial to be continued...
phpMyAdmin es una herramienta gratis y de código abierto, escrita en PHP, y que sirve para administrar bases de datos MySQL a través de una página web.
Con esta herramienta puedes crear y borrar bases de datos; alterar, crear, eliminar tablas; borrar, añadir, editar campos; o simplemente ejecutar sentencias de SQL.
http://leccionesweb.com/
Introducing the MySQL Workbench CASE toolAndrás Bögöly
Introducing the ER Model, and the The MySQL Workbench CASE tool with its Database modeling, database SQL development and some aspects of the change management capabilities.
In today's high technology environment, organizations are becoming more and more dependent on their information systems. The public is increasingly concerned about the proper use of data and information. Most Organizations like banks, airlines, markets, manufactures and universities widely used computer systems to manage, manipulate and process their information. Many of today's most widely used computer systems are database applications, for example, Amazon, which was built on top of MySQL. Database application is involved like everywhere in our world, it touches all aspects of our lives.
A database application is a computer program whose primary purpose is entering and retrieving information from a computerized database. Early examples of database applications were accounting systems and airline reservations systems.
The aim of this course is to explore fundamentals of database application related to MySQL, phpMyAdmin, MySQL command lines, apache server and PHP Maker. It details the relational database principles. It shows how to build and develop database application with web interface.
Upon completion of this course, computer students will have gained knowledge of database application concepts and the ability to:
Must know the basic concepts related relational database application.
Must know how to manage relational database via using MySQL command line and phpMyAdmin.
Must know how to build database application with web interface by using MySQL and PHPMaker.
A combination of lectures and practical sessions will be used in this course in order to achieve the aim of the course.
By MSc. Karwan Mustafa Kareem
Mumbai Academics is Mumbai’s first dedicated Professional Training Center for Training with Spoke and hub model with Multiple verticles . The strong foundation of Mumbai Academics is laid by highly skilled and trained Professionals, carrying mission to provide industry level input to the freshers and highly skilled and trained Software Professionals/other professional to IT companies.
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.
Its an distributed enviornment for developing the enterprise application.We can develop multi-tier,three-tier or n-tier architecture using this.In this Java Server Pages and Servlet is the important things
JSP AND XML USING JAVA WITH GET AND POST METHODSbharathiv53
This ppt contains JSP life cycle, Tags, Tomcat, Request String,
User Sessions, Cookies, Session Objects; XML - Tags, Elements,
Attributes, XML with CSS, XML and DTD (Document Type Definition),
XML Schema.
JSP (Java Server Pages) Lecture # 9
Java Server Faces the best Alternative of C# and Easy to make your own Application (Desktop applications) or web applications
JSP (Java Server Pages) Lecture # 5
Breif detail lecture about the JSP Servlets with example code the tutorial thing such as how to create, deploy etc etc
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
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.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
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.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
2. Intro to JSP
Sun‟s Solution for developing dynamic websites.
Server side scripting support for creating database
driven web applications.
Web file always has „.jsp‟ extension.
Insert java code into JSP file.
On receiving request, JSP pages are loaded into
server memory for its execution.
JSP Services are efficient and client is served in short
period of time.
3. Web-Server for JSP
Number of web-servers are available.
Apache TomCat
WebSphere
GalssFish
etc
13. JSP Tags
<% (scriptless)
<@ (directive page, include and taglib)
<%-- (comment)
14. JSP Tags
Directives
In the directives we can import packages, define error handling
pages or the session information of the JSP page.
Declarations
This tag is used for defining the functions and variables to be used
in the JSP.
Scriplets
In this tag we can insert any amount of valid java code and these
codes are placed in _jspService method by the JSP engine.
Expressions
We can use this tag to output any data on the generated page. These
data are automatically converted to string and printed on the output
stream
15. Directive
<%@directive attribute="value" %>
Where directive may be:
page: page is used to provide the information about it.
Example: <%@page language="java" %>
include: include is used to include a file in the JSP page.
Example: <%@ include file="/header.jsp" %>
taglib: taglib is used to use the custom tags in the JSP pages
(custom tags allows us to defined our own tags).
Example: <%@ taglib uri="tlds/taglib.tld" prefix="mytag" %>
16. Attributes can be
language="java"
This tells the server that the page is using the java language. Current JSP specification supports
only java language.
Example: <%@page language="java" %>
extends="mypackage.myclass"
This attribute is used when we want to extend any class. We can use comma(,) to import more
than one packages.
Example: <%@page language="java" import="java.sql.*,mypackage.myclass" %>
session="true"
When this value is true session data is available to the JSP page otherwise not. By default this
value is true.
Example: <%@page language="java" session="true" %>
errorPage="error.jsp"
errorPage is used to handle the un-handled exceptions in the page.
Example: <%@page language="java" session="true" errorPage="error.jsp" %>
contentType="text/html;charset=ISO-8859-1"
Use this attribute to set the mime type and character set of the JSP.
Example: <%@page language="java" session="true" contentType="text/html;charset=ISO-
8859-1" %>
17. Adding Scriptless
<% opening tag
%> closing tag
To print message<% =“Hello World” %>
To print <% = new java.util.Date() %>
18. JSP Declarations
you must use the <%! and %> sequences to enclose
your declarations.
<%!
Date theDate = new Date();
Date getDate() {
out.println( "In getDate() method");
return theDate;
}
%>
Hello! The time is now <%= getDate() %>
20. Declaration and Website Counter
<%!
static int i=0;
private int getCount(){
return ++i;
}
%>
<%=getCount()%>
21. Variables in Scriptless
request:
request represents the clients request and is a subclass of HttpServletRequest. Use
this variable to retrieve the data submitted along the request.
Example:
<%
//java codes
String userName=null;
userName=request.getParameter("userName");
%>
response:
response is subclass of HttpServletResponse.
session:
session represents the HTTP session object associated with the request.
out:
out is an object of output stream and is used to send any output to the client.
22. Handling „Request‟
Steps
Make index page with „form‟ containing username and
password.
Use post or get method within form tag.
Make two buttons submit and rest.
Handle request in another jsp page.
Methods to use are:
Request
Pagecontext(to redirect page)
23. Request methods
very useful pre-defined variable is "request".
It is of type javax.servlet.http.HttpServletRequest
<%
request.getRemoteHoste(); or
request.getRemoteAddr();
%>
24. JSP Session
Associate any data with session by using .
As long as session is maintained with user data will
be accessible on any page of website.
Session object is associated with each user visiting
that website.
Example: Associate username with session with
website of three pages.
26. Import package
<%@page import="java.util.*" %>
<HTML>
<BODY>
<% System.out.println( "Evaluating date now" );
Date date = new Date();
%>
Hello! The time is now
<%= date %>
</BODY>
</HTML>
27. JSP Beans
JSP introduces another organized way to retrieve
form data (but also supports other functionalities).
That is by introducing bean.(This is not full beans)
Define java with settter and
getter functions.
28. Bean Proporties
i) It has a public no-args constructor
ii) It has 'set' and 'get' methods for its properties.
iii) It may have any general functions.
29. Steps in Creating JSP Beans
Create html page with form data by setting action
page.
Create java class with setter and getter function with
same name as defined in form fccccdcx.
Create JSP page that will handle request data with
following tags.
<jsp:useBean id=“mybean” class=“package.className"
scope="session"/>
<jsp:setProperty name="mybean" property="*" />
Retrieve data by following command.
<%=mybean.getPassword()%>
30. Scope of Bean
Scope= “Page” (only in current page of page specified)
Scope = “request” (within request)
Scope = “session” (all pages)
31. If we access parameter in third page using „request‟
object then it shows null value.
But same can be accessed using session object, if
scope is set to session.
Now we can also access parameter through „request‟
object with following command in 2nd page.
<jsp:forward page="session.jsp" />
Use following to include page in existing page
<jsp:include = “page.jsp” flush = “false” />
33. Tag Libraries
Also known as custom tags defined by user.
Use to initiate any custom action.
Custom actions include form processing, accessing
databases and other enterprise services such as email
and directories, and flow control.
34. Features of Custom Tags
They can be customized via attributes passed from the calling
page.
They have access to all the objects available to JSP pages.
They can modify the response generated by the calling page.
They can communicate with each other. You can create and
initialize a JavaBeans component, create a variable that refers
to that bean in one tag, and then use the bean in another tag.
They can be nested within one another, allowing for complex
interactions within a JSP page.
35. Custom Tags
Declare Tag Libraries
<%@ taglib uri="/tlt" prefix="tlt" %>
„Uri‟ attribute refers to a URI that uniquely identifies the tag
library.
The prefix attribute distinguishes tags provided by a given tag
library from those provided by other tag libraries.
36. Steps
To define a tag, you need to:
First declare the tags in a tag library
descriptor(TLD).
Develop a tag handler and helper classes for the tag.
37. Tag Handler
Tag Handler
Tag handler object is invoked by jsp container to
evaluate custom tag.
This tag handler is java file with all custom actions
defined in it.
We only use overridden functions
40. How to ?
Create New File Tag Library Descriptor.
Create Tag Handler file.
Set functionality in tag handler. (once tag handler file is created
it automatically will write basic tags in TLD file).
Call custom tag using following
<%@taglib uri="mytld" prefix="mytag" %>
<mytag:mytaghandler/>
41. Database
Pre-Req:
MySQL Server
MySQL Workbench
Create Database with table and attributes.
WAMP Server
Important
Include SQL Library in Library folder before stating to
implement your project.
42. Steps to follow
Import SQL Package in JSP File
<%@ page language="java" import="java.sql.*" %>
Load MySQL Driver
Class.forName("com.mysql.jdbc.Driver");
Create Connection with SQL Server
Connection c=DriverManager.getConnection("jdbc:mysql://
localhost:3300/mydb","root", "123");
Statement s= c.createStatement();
ResultSet
Statement
ResultSet rs=s.executeQuery("Select * from student");
43. Show Results
while (rs.next())
{
out.println(rs.getString("myfield")+"<br>");
}
44. JSTL Use
JSTL Tags are used for
Iteration and conditionals
Tags for manipulating XML documents
Internationalization tags
SQL tags.
46. JSTL Steps
Add JSTL library by right clicking on library folder of
project.
To use JSTL in JSP file use following
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%>