Create
a folder who’s folder name must be project name (there should not spaces).
Note: we call this folder as project context/web context.
1) Inside the above created folder we create a folder
with the name "WEB-INF"
(must be write in the capital letters only) .Inside the "WEB-INF" create the "classes"
and "lib" folders.
2)
Create
a file whose file name must be “web.xml” (inside WEB-INF)
1)
By
using java we can develop both static and dynamic web-based applications
2) We
can develop two types of web-based applications. They are:
2.1) Static web-based Apllications
2.2) Dynamic web-based Applications
3) What are static web-based applications?
When the client send the request to
the server, if the server is sending same output for multiple times. Then we
call as static web-based applications. To develop static web-based application
we use HTML, java script and images.
4) What
are dynamic web-based applications?
If the output is getting change the
every time we call the applications as dynamic web-based applications we use
servlets, JSP’s to develop dynamic web-based applications.
“ 5) WEB-INF”
folder is called as a “private” folder this is because the file in this folder
can be accessible only by the server.
6) web.xml file is called as “Deployment descriptor”.
7) All the html files of our project must be placed
inside “project and outside WEB-INF” folder.
8)
Once
if we are ready with the project, we must deploy the project.
9) what is the meaning of deployment?
Placing the project in a server specified folder is called as deployment
10) By
default tomcat server uses 8080 port number in tomcat we use webapps
folder as the Deployment folder.
11) To
deploy a project it’s the recommended to starts the server and place the
project in webapp (deployment) folder
http://localhost7001/IBM/one.html or
web.html
|
12) To deploy a project in weblogic server we use a folder
auto deploy (weblogic server).
13) Most
of the times we need to read deploy the project in the server.
No comments:
Post a Comment