1.在model包里创建StrObject.xsd文件:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.w3school.com.cn" xmlns="http://www.w3school.com.cn"
        elementFormDefault="qualified">
        <xs:element name="StrObject">
                <xs:complexType );
                        PrintWriter out = null;
                        try {
                                out = response.getWriter();
                                out.write(xmlDataString);
                                out.flush();
                        } catch (Exception e) {
                                e.printStackTrace();
                        }finally{
                                if(out != null)
                                        out.close();
                        }
                }
  }

相关文章:

  • 2022-12-23
  • 2021-10-13
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-06-08
  • 2022-12-23
相关资源
相似解决方案