504 IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity
System.out.println("IMS RDS Servlet : End" );
} catch (Exception t){
System.out.println("IMS RDS Servlet : Caught exception in final section is: " + t);
arg0.setAttribute("t",t.getMessage());
RequestDispatcher disp = arg0.getRequestDispatcher("Output.jsp");
System.out.println("IMS RDS Servlet : Success Dispatch Result");
System.out.println("IMS RDS Servlet : End" );
disp.forward(arg0,arg1);
}
}
}
}
GlobalInput.html
GlobalInput.html is the HTML document that invokes the servlet for the global transaction, as
shown in Example B-3.
Example: B-3 GlobalInput.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META name="GENERATOR" content="IBM Software Development Platform">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
<TITLE>InputPage</TITLE>
</HEAD>
<BODY>
<H1>IMS Remote Database Service:Global Transaction</H1>
<H2>Enter Key Value of Person Database !</H2>
<FORM METHOD="post" ACTION="ImsRdsSampleGlobal">
<H3>LastName</H3>
<P>
<INPUT TYPE="text" NAME="keyValue" ID="keyValue" SIZE="10" MAXLENGTH="10" >
</P>
<P>
<INPUT TYPE="submit" NAME="Execute" ID="Execute" VALUE="Execute">
<INPUT TYPE="reset" NAME="Reset" ID="Reset" VALUE="Reset">
</P>
</FORM>
</BODY>
</HTML>