InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.4: Putting it all together (Web applications) >
4.2.4.4: Providing ways for clients to invoke applications >
4.2.4.4.2: Providing Web clients access to servlets

4.2.4.4.2: Providing Web clients access to servlets

Suppose an application contains one or more servlets -- how does the application developer allow a user at a Web client (browser) to invoke the servlets? The table summarizes the available approaches. Click an approach for details.

Programming approach How user accesses servlet
Provide the servlet URL to users for direct access, or include an HREF link to the servlet URL on the Web site Type the servlet URL in a browser, or follow a link to it
Call servlet from an HTML form Fill out an HTML form and submit it to the servlet for processing
Call servlet from a JSP file Open a JSP page that invokes the servlet

Go to previous article: Invoking JSP files within other JSP files Go to next article: Invoking servlets within SERVLET tags

 

 
Go to previous article: Invoking JSP files within other JSP files Go to next article: Invoking servlets within SERVLET tags