j2ee+ webwork实现的做一个注册页面,内容很多。在页面的最下面有个上传功能,若上传完成后页面会自动跳回注册页,但无法定位到上传内容位置。所以想用anchor实现。但不知道如何用在result中。webwork代码如下:
<result name="success" type="dispatcher">/secure/author/author_resiger.jsp</result>
我改成
<result name="success" type="dispatcher">/secure/author/author_resiger.jsp#anchor1</result>
报错无法找到网页。请问大家应该如何实现这个功能呢?
<result name="success" type="dispatcher">/secure/author/author_resiger.jsp</result>
我改成
<result name="success" type="dispatcher">/secure/author/author_resiger.jsp#anchor1</result>
报错无法找到网页。请问大家应该如何实现这个功能呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货