本地和linux用的tomcat和jdk都是同一版本。删除web.xml里面的类容后就没问题,以下是web.xml配置,求高手!!!
<?xml version="1.0" encoding="UTF-8"?>
ssh
index.do
index.html
index.jsp
contextConfigLocation
classpath:applicationContext*.xml
org.springframework.web.context.ContextLoaderListener
com.tanie.fenxiao.listener.InitListener
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
forceEncoding
true
encodingFilter
/*
adminLogin
com.tanie.fenxiao.filter.AdminLoginFilter
adminLogin
/admin/*
userLogin
com.tanie.fenxiao.filter.UserLoginFilter
userLogin
/user/*
SetcharFilter
com.tanie.fenxiao.filter.SetcharFilter
SetcharFilter
/*
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
OpenSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
sessionFactoryBeanName
sessionFactory
20
OpenSessionInViewFilter
/*
struts2
*.do
REQUEST
FORWARD
猜测一下,估计是大小写问题,windows是大小写不敏感的,而linux是大小写敏感的