
Appendix B. Sample code 551
servletoutputstream.println(dkexception.name() + "<br>" +
dkexception.getMessage());
dkexception.printStackTrace();
}
catch(Exception exception)
{
servletoutputstream.println("Exception message " +
exception.getMessage());
exception.printStackTrace();
}
}
public synchronized void doPost(HttpServletRequest httpservletrequest,
HttpServletResponse httpservletresponse)
throws ServletException, IOException
{
doGet(httpservletrequest, httpservletresponse);
}
public void init(ServletConfig servletconfig)
throws ServletException
{
super.init(servletconfig);
}
DKDatastoreICM dsICM;
}
B.2 Generic Web applica ...