package Servlet; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.*; import Dao.message; public class insertMessage extends HttpServlet { @Override public void init(ServletConfig config) throws ServletException { // TODO Auto-generated method stub super.init(config); } public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{ response.setContentType("text/html;charset=utf-8"); String content=request.getParameter("content"); byte contents[]=content.getBytes("ISO-8859-1"); content=new String(contents); message mess=new message(); mess.getConn(); mess.insertmessage(content); response.sendRedirect("insertmessage.jsp"); } public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException{ doPost(request,response); } }

qwqwx585160 LV2
2024年12月15日
wzd031105 LV2
2024年12月6日
lmj12345 LV2
2024年8月19日
cong58cong LV8
2024年6月26日
bankroll LV5
2024年6月13日
Waner111 LV1
2024年1月4日
asddwh LV13
2023年12月26日
zj20020510 LV5
2023年9月24日
monolog LV4
2023年4月18日
whq12138 LV3
2023年1月6日

光明正大黑小虎
6月19日
暂无贡献等级
krispeng LV15
5月29日
1623785086
5月5日
暂无贡献等级
qwqwx585160 LV2
2024年12月15日
traume
2024年12月11日
暂无贡献等级
lyh1989 LV34
2024年12月10日
wzd031105 LV2
2024年12月6日
ChanLain LV2
2024年11月30日
yimaoermao LV1
2024年11月28日
yyhrhv LV8
2024年9月3日