createExc.jsp 685 B

12345678910111213141516
  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.sysmodel.datamodel.xmlmanager.xmlobjdll.*"
  7. %>
  8. <%
  9. SysModel sysmodel = ModelFactory.getSysmodel();
  10. String classid = request.getParameter("classid") == null ? "0" : request.getParameter("classid");
  11. int iclassid = Integer.parseInt(classid);
  12. MdpClassImpl MdpClass = (MdpClassImpl)sysmodel.getMdpClassByClassID(iclassid);
  13. SysModeldllable SysModeldllable = new SysModeldllimpl();
  14. out.print(SysModeldllable.createJavaCode(MdpClass));
  15. %>