Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How does weblogic server work with servlets?


Asked by Emmaline Huang on Dec 11, 2021 FAQ



A servlet on WebLogic Server can examine client requests, retrieve parameters from the request , and prepare a response for the client , using any WebLogic Server service. For example, a servlet might respond to a client program with an XML business document. Thus an application can use servlets as gateways to other WebLogic Server services.
Just so,
Learn about WebLogic Server Web applications, servlets, and JavaServer Pages (JSPs). This chapter includes the following sections: A Web application contains an application's resources, such as servlets, JavaServer Pages (JSPs), JSP tag libraries, and any static resources such as HTML pages and image files.
Subsequently, Applets and other class files are delivered using an internal servlet called the ClasspathServlet. A description of these and the other HTTP servlets that WebLogic uses to handle HTTP requests is given in the next section.
Keeping this in consideration,
WebLogic supports server-side includes (SHTML files) using an internal WebLogic servlet called the ServerSideIncludeServlet. Server-side includes allow you to include templates in your HTML pages. You define the templates in other files, and may include them in many other web pages to make maintenance easier.
In this manner,
A WAR file deployed to WebLogic Server always includes the following files: One servlet or JavaServer Page (JSP), along with any helper classes. An optional web.xml deployment descriptor, which is a Java EE standard XML document that describes the contents of a WAR file.