introduction_logo.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:1k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <%@ page import="java.util.*"%>
  3. <%@ page import="cn.js.fan.util.*"%>
  4. <%@ page import="cn.js.fan.db.*"%>
  5. <%@ page import="cn.js.fan.web.*"%>
  6. <%@ page import="com.redmoon.forum.plugin.auction.*"%>
  7. <%@ page import="com.redmoon.forum.plugin.*"%>
  8. <%@ page import="com.redmoon.forum.person.*"%>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  13. <meta name="ProgId" content="FrontPage.Editor.Document">
  14. <LINK href="default.css" type=text/css rel=stylesheet>
  15. <title>修改简介</title>
  16. </head>
  17. <body>
  18. <jsp:useBean id="StrUtil" scope="page" class="cn.js.fan.util.StrUtil"/>
  19. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  20. <%
  21. if (!privilege.isUserLogin(request)) {
  22. out.print(StrUtil.makeErrMsg("请先登录!"));
  23. return;
  24. }
  25. AuctionShopMgr asm = new AuctionShopMgr();
  26. try {
  27. if (asm.modifyLogo(application, request))
  28. out.print(StrUtil.Alert_Redirect("Logo修改成功!", "introduction.jsp?userName=" + StrUtil.UrlEncode(asm.getUserName())));
  29. else
  30. out.print(StrUtil.Alert_Back("Logo修改失败!"));
  31. }
  32. catch (ErrMsgException e) {
  33. out.print(StrUtil.Alert_Back(e.getMessage()));
  34. }
  35. %>
  36. </body>
  37. </html>