![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
文章平均质量分 62
「已注销」
千本傻吗
展开
-
Struts2 Action中命名空间(namespace)作用
(1)指定命名空间在此配置下,index.action的访问路径是:http://localhost:8080/ss2h/index.action (注意:ss2h是项目名)(2)不指定命名空间在此配置下,index.action的访问路径是:http://localhost:8080/ss2h/index.actionhttp://local原创 2016-10-23 14:25:43 · 866 阅读 · 0 评论 -
struts2生成验证码
思路:用response的输出流向页面输入图片(1)图片生成工具类package com.wframe.base.utils;import java.awt.Color;import java.awt.Font;import java.awt.Graphics;import java.awt.Graphics2D;import java.awt.RenderingHints原创 2016-10-23 17:34:18 · 299 阅读 · 0 评论 -
struts2上传异常
错误如下:浏览器:net::ERR_CONNECTION_RESETjava控制台:ERROR ExceptionMappingInterceptor Invalid action class configuration that references an unknown class named [handleMusicAction] java.lang.RuntimeExcept原创 2016-10-27 09:52:35 · 470 阅读 · 0 评论