status2访问localhost:8080时正常,但追加项目名后就显示空白页!看截图

访问localhost8080时是这样的 因为我把端口改了9090所以就用9090了!图片说明

端口一切都ok 但是访问localhost:9090/my 就直接是空白页面了!图片说明

然后利用html测试页面访问又正常:图片说明
以下附上status配置的参数

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">




/frame.jsp
/login.jsp
/show/login.jsp
/show/book.jsp


/show/next.jsp
error.jsp



/ccgl/send.jsp
/ccgl/hwrk.jsp
/ydgl/spyd.jsp
/ydgl/ckyd.jsp
/show/Home.jsp
/show/show.jsp
error.jsp



/ccgl/hwck.jsp
error.jsp



/clgl/ck.jsp
error.jsp


以上这些是status的内容。
下面是web.xml的内容。

<?xml version="1.0" encoding="UTF-8"?>

22.1

struts2
org.apache.struts2.dispatcher.FilterDispatcher


struts2
/*


show/Home.jsp

跪求大神,我要怎么才能进入我的登陆界面?

图片说明

status的配置代码!!!

图片说明

loginAction图片说明

图片说明

欢迎页面没写。 加上就好了
web.xml

index.html

@觅夜的黑 我用的jsp页面 跳转不过去!

主页html和jsp都能跳转,访问http://localhost:9090 是默认跳到主页的,只要路径写对就可以了。
你要跳到登录页面,用点击超链接跳转,表单提交跳转,发送Ajax跳转的方式。当然所有的url都要以Login_*.action开头,
后面加上参数,这些参数是在相LoginAction中有getXXX()方法才能接受到,然后在staff()方法中进行逻辑判断,当条件判断
为false时,进入else返回failure字符串,这样才会跳转到登录的jsp界面。