应该不会的,我用的很好,你看看是不是你标签用错了,上Apache站点http://struts.apache.org/userGuide/index.html查一下Tag的用法<logic:forward name="login" />页面就会到你在全局变量的forward页面中如果是用Action里面forward的话
就是
mapping.findForward("success");
然后就会找配置文件里面对应的success应该forward的页面

解决方案 »

  1.   

    我就是用的Action里面的mapping.findForward("success");跳转是成功了,就是跳转到的页面出问题
      

  2.   

    <--------------高手看过来! 能不能搞定这个?
    http://community.csdn.net/Expert/topic/3472/3472337.xml?temp=.1701624
      

  3.   

    以下是跳转到的页面的源代码:
    <!--
    /*
    * file:subject.jsp
    * author:Jack Zheng
    * discribe:
    * Date:04/08/31
    * version:1.0
    */
    -->
    <%@ page contentType="text/html;charset=gb2312"%>
    <%@ include file="/include/global.jsp"%>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title></title>
    </head>
    <link rel=stylesheet href="/CIS/style/global.css" type="text/css">
    <body>
    <table width="570" border="0">
      <tr>
        <td height="449" valign="top"> <div align="center">
          <p>
    <%
    String strCateName=(String)request.getParameter("cateid");
    if(strCateName!=null)
    {
    out.println(strCateName);
    }
    %>
          </p>
          <div align="left">
          <html:form action="searchCateAction.do">
          <table>
            <tr>
              <td nowrap>情报分类名称:</td>
              <td nowrap><html:text property="cate_name"/></td>
              <td nowrap><html:submit value="查询"/></td>
            </tr>
          </table>
          </html:form>
        </div>      <div align="right"><a href="subject_new.jsp">新建情报分类</a> 保存情报分类模板 保存情报规划模板 <a href="top_subject.jsp">返回上级分类</a>      </div>
          <table width="100%">
            <tr>
              <th width="27%" scope="col">分类名称</th>
              <th width="13%" scope="col">&nbsp;</th>
              <th width="12%" scope="col">&nbsp;</th>
              <th width="17%" scope="col">&nbsp;</th>
              <th width="8%" scope="col">&nbsp;</th>
              <th width="7%" scope="col">&nbsp;</th>
              <th width="16%" scope="col">&nbsp;</th>
            </tr>
            <tr>
              <td>行业动态</td>
              <td><a href="subject_edit.jsp?cateid=&#34892;&#19994;&#21160;&#24577;">修改</a></td>
              <td>删除</td>
              <td><a href="subject_infores.jsp?cateid=&#34892;&#19994;&#21160;&#24577;">配置信息源</a></td>
              <td>上移</td>
              <td>下移</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>厂商信息</td>
              <td>修改</td>
              <td>删除</td>
              <td><a href="subject_infores.jsp?cateid=&#21378;&#21830;&#20449;&#24687;">配置信息源</a></td>
              <td>上移</td>
              <td>下移</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>技术专题</td>
              <td>修改</td>
              <td>删除</td>
              <td><a href="subject_infores.jsp?cateid=&#25216;&#26415;&#19987;&#39064;">配置信息源</a></td>
              <td>上移</td>
              <td>下移</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
      <div align="right">首页 上一页 下一页 最后一页
          </div>
          </div></td>
      </tr>
    </table>
    </body>
    </html>
      

  4.   

    <link rel=stylesheet href="/CIS/style/global.css" type="text/css">前加一句<html:base/>
      

  5.   

    一定是jsp页面的标签有问题!
    自己认真的去看看
      

  6.   

    to jenry_leon() :
    为什么单独看没有问题呢???
      

  7.   

    你对编码处理了没有啊.
    看一下这个贴吧.
    http://community.csdn.net/Expert/topic/3471/3471257.xml?temp=.7961237
      

  8.   

    谢谢大家,我找到原因,是Spring的Filter字符集的事
      

  9.   

    谢谢大家,我找到原因,是Spring的Filter字符集的事