Note - the approach described here is deprecated. Veryant recommends the EIS solution as best practice to create COBOL Servlets. See COBOL Servlet option (OOP) for details.
NOTE - It may be desirable to put all of the OOCOBOL syntax in the COBOL servlet class alone and have the COBOL servlet class CALL other COBOL subprograms that do not have OOCOBOL syntax in them. Or limit the amount of OOCOBOL syntax that is required in the CALLed COBOL subprograms.Using Tomcat 7 add C:\Program Files\Apache Software Foundation\Tomcat 7.0\lib\servlet-api.jar to the class path. For example:
This will produce a single class file Sample.class that will be "deployed" to the servlet container.
<listener-class></listener-class></listener>The above web.xml file can be copied and used to test any COBOL servlet. It is only necessary to edit the <servlet> and <servlet-mapping> elements.
NOTE - The com.iscobol.web.IscobolFilter Class
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |