String currentClassPath = RandomCheckCode.class.getResource(File.separator).toString();
int beginIndex = currentClassPath.indexOf("/", 0)+1;
int endIndex = currentClassPath.lastIndexOf("/")+1;
String OS = System.getProperty("os.name").toLowerCase();
if(OS.indexOf("win")!=-1)
...
spring2.0与strut2.0整合的action配置的实例缺省是基于会话的,所以表单第一次提交出错后,接下来每次提交
也都会报同样的错,解决方法就是更改spring-action配置的scope属性即可,示例如下:
<bean id="loginAction"
class="com.jayu.web.action.Login" scope="prototyp ...
- 16:54
- 浏览 (406)
- 评论 (0)







评论排行榜