
540 Implementing Web Applications with CM Information Integrator for Content and ODWEK
B.1 Quick start sample code
This section provides some of the sample code used in the quick start for Web
development portion of the redbook.
Add item types: CMaddItemType.jsp
Example B-1 shows the complete JSP file that can be used to create the
appropriate item types for the Redbrook County building permit application. Note
that the Library Server name, user ID, and password are hard coded. Change
the values according to your system configuration.
Example: B-1 CMaddItemType.jsp
<%@ page import="com.ibm.mm.sdk.server.*,
com.ibm.mm.sdk.common.*"%>
<!DOCTYPE HTM ...