⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uploadcontacts.jsp

📁 A brew application taking backup of the device
💻 JSP
字号:
<%@page import = "MyPackage1.*" %><%@page import = "java.io.*" %><%@page contentType="text/xml;charset=ISO-8859-1"%><%        InputStream input = request.getInputStream();        BufferedReader br = new BufferedReader(new InputStreamReader(input));        StringBuffer str = new StringBuffer();        String line = null;        int count = 0;        String msg="failure";        while ((line = br.readLine()) != null) {            str.append(line);        }        String recievedStr = str.toString();        if (recievedStr != null) {             Storage sg = new Storage();             sg.setSess(request.getSession());             sg.getSess().setAttribute("connection", "");             sg.setMainString(recievedStr);                          sg.SaveInUploadContacts();             msg = "success";        }%>  <?xml version="1.0" encoding="ISO-8859-1"?><root>         <result>             <% out.print(msg); %>         </result></root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -