Servlet files

Servlets are Java classes that create HTML pages with dynamic content and respond to requests from client applications that are implemented as HTML forms. Servlets also allow you to execute business logic from a Web browser or any other client application that connects using the Hypertext Transfer Protocol (HTTP). See Chapter 22, “Creating Java Servlets,” in the EAServer Programmer’s Guide.

Web clients invoke a Web application’s servlets by prepending the Web application’s root request path to an alias that is mapped to the servlet. For example, the following URL invokes a servlet mapped to the alias “Account” in the application with root request path “Finance”:

http://myhost/Finance/Account?type=add

Servlets that are not part of a Web application are implicitly assigned to the EASDefault Web application. You can configure the properties for EASDefault the same as you do for other Web applications. See “The EASDefault Web application” in Chapter 21, “Creating Web Applications,” of the EAServer Programmer’s Guide.