Designing and Programming CICS Applications
by John Horswill, Members of the CICS Development Team at IBM Hursley
Chapter 9. Programming the Web Component
In this chapter:
This chapter introduces a number of recent web technologies and describes how to build a website, build and deploy servlets, create Java Server Pages (JSP), and create and build a JavaBean. In addition, this chapter shows you how to incorporate the CORBA client that you developed in Part III.
Tools
This section describes the configuration of those tools so that you can follow through the sample application more easily. You need to have access to the following: a web server, this book uses WebSphere Application Server (WAS) to provide servlet support, WebSphere Studio for the development of your servlets, and NetObjects Fusion or other web page servers to develop your web pages.
Install and Configure a Web Server
When you have successfully installed your web server (for example, IBM HTTP Server), you can create an alias to point your web server at the directory where you have your HTML files. To do this:
Edit the httpd.conf file found in the \Program Files\IBM HTTP Server\conf\ directory and add a directive for a user directory to contain your web pages:
UserDir "C:/userpages"
UserDir may already be defined for your web server.
Set up an alias for /cicsadp. This will redirect requests for http://servername/cicsadp/ to the index.html file in the folder /userpages/cicsadp/index.html:
Alias /cicsadp/ "C:/userpages/ciscadp/"
Use Windows Explorer to create a cicsadp folder under ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access