当前位置:编程学习 > JSP >>

为什么JSP 显示这样的错误: Multiple annotations found at this line: 源代码如下

<% response.setCharacterEncoding("GBK"); response.setContentType("text/html;charset=gbk"); String msg=request.getParameter("msg"); if (msg!=null) msg=new String(msg.getBytes("iso-8859-1")); if (msg!=null&&session.getAttribute("user")==null) session.setAttribute("user",msg); if (session.getAttribute("user")==null) { out.println("请输入昵称:"); } else { synchronized(application) { msg="<font color=blue>"+(String)(session.getAttribute("user"))+"</font>:"+msg; msg+="<br>"; msg+=(String)(application.getAttribute("msg")); application.setAttribute("msg",msg); } %>
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,