xmlByCNNameExc.jsp 612 B

1234567891011121314151617
  1. <%@ page contentType="text/html; charset=UTF-8" language="java"%>
  2. <%@ page
  3. import ="com.sysmodel.datamodel.xmlmanager.xmlobjdll.SysModeldllimpl"%>
  4. <%
  5. String CNnames = request.getParameter("CNnames") == null ? "" : request.getParameter("CNnames");
  6. String sname = new String(CNnames.getBytes("ISO-8859-1"),"GBK");
  7. System.out.println("sname = " + sname);
  8. SysModeldllimpl sysModeldllimpl = new SysModeldllimpl();
  9. StringBuffer sb = new StringBuffer();
  10. if(!sname.equals("")){
  11. sb = sysModeldllimpl.createAtrributesByCNName(sname);
  12. }
  13. out.print(sb.toString());
  14. %>