createExc.jsp 726 B

123456789101112131415161718
  1. <%@ page contentType="text/html; charset=UTF-8" language="java"%>
  2. <%@ page
  3. import ="com.sysmodel.datamodel.xmlmodel.ModelFactory,
  4. com.sysmodel.datamodel.xmlmodel.able.SysModel,
  5. com.sysmodel.datamodel.xmlmodel.impl.MdpClassImpl,
  6. com.persistence.DBdll.SysOperator"
  7. %>
  8. <%
  9. SysModel sysmodel = ModelFactory.getSysmodel();
  10. String classid = request.getParameter("classid") == null ? "0" : request.getParameter("classid");
  11. String type = request.getParameter("type");
  12. int iclassid = Integer.parseInt(classid);
  13. MdpClassImpl MdpClass = (MdpClassImpl)sysmodel.getMdpClassByClassID(iclassid);
  14. SysOperator SysOperator = new SysOperator();
  15. out.print(SysOperator.createMdpClassTableComment(MdpClass,type));
  16. %>