0% found this document useful (0 votes)
3 views1 page

Understanding Java Servlets and Deployment

A servlet is a Java program that runs on a web server to create web-based applications, utilizing the Servlet API which includes two packages: javax.servlet and javax.servlet.http. The Servlet interface provides general instructions for creating servlets, while deployment involves running the application and using descriptors like web.xml for configuration. The welcome-file-list element defines default files that the server automatically serves when no specific file name is provided.

Uploaded by

akashbhagwat1608
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Understanding Java Servlets and Deployment

A servlet is a Java program that runs on a web server to create web-based applications, utilizing the Servlet API which includes two packages: javax.servlet and javax.servlet.http. The Servlet interface provides general instructions for creating servlets, while deployment involves running the application and using descriptors like web.xml for configuration. The welcome-file-list element defines default files that the server automatically serves when no specific file name is provided.

Uploaded by

akashbhagwat1608
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Servelet- it is a java program that runs on a web server and it is used to create

web based application.


Servelet API-
Servlrt are build two packages:
[Link].(basic)
[Link](Advance)

Servlet interface-
genral instruction for creating servlet program:
Servlet interface defines need to be implwmwnted for creating any servlet.

deployement=to run
decripter=decribed the details
annotation=urlmapping

>ServletContext and ServletConfig -

global variable local variable

moving from current page to next page without changing address ------ ??
deployement disc - web xml

HOW TO UPDATE APACHE -


project write click - project facts - runtime -update

Welcome-file-list
the welcome file list ele of web app is used to define a list of welcome files
a welcome files is the file that is involed automatically b y the server if you
don't specify any file name
by default server look for the welcome file in following order -
.[Link]
.[Link]

You might also like