java代码:
public void returnMessage(HttpServletResponse response, Object str){
PrintWriter write = null;
try{
write = response.getWriter();
write.print(str);
}catch(IOException e){
e.printStackTrace();
}finally{
write.close();
} }
2024-02-08 15:25:46
java代码:
public void returnMessage(HttpServletResponse response, Object str){
PrintWriter write = null;
try{
write = response.getWriter();
write.print(str);
}catch(IOException e){
e.printStackTrace();
}finally{
write.close();
} }