页面转跳失效问题肯定是路径的问题。建议改相对路径为绝对路径
String path = request.getContextPath();
String basePase = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
<link rel="stylesheet" type="text/css" href="<%=basePath%>+相对路径/main.css">
struts2 action转跳到jsp页面css失效
猜你喜欢
转载自fuyou0104.iteye.com/blog/1174568
今日推荐
周排行