转向问题应该是由struct-config.xml这个文件来控制呢吧

解决方案 »

  1.   

    楼上的:我不是转向问题,我是在jsp上得不到从action传过来的值!
      

  2.   

    是不是在struts-config.xml里面的该action配置成redirect=true了?
      

  3.   

    <html:text property="addzone" maxlength="9" />只要你的formbean和这个页面对应。addzone为formbean中的属性。struts自动把text赴值
      

  4.   

    cyz99(小哲) :都是设成false的
      

  5.   

    javaGirlOrBoy(javaGirl)我的addzone就是个formbean,里面有name,type,location。
    我现在是这么写的,能看下错误在哪里吗?
    <html:form action="/EditZoneAction" name="addzone" type="AddZoneForm"> 
    Zone Type : <html:select property="type">
                          <html:option value="1">Web Zone</html:option>
                          <html:option value="2">Meeting Zone</html:option>
                       </html:select><html:errors property="type"/></br>
                Zone Name : <html:text property="name"/><html:errors property="name"/></br>
                Location : <html:text property="location"/><html:errors property="location"/></br>
               <html:submit/><html:cancel/>
            </html:form>
      

  6.   

    <html:text name="addzone" property="location"/>
    这样应该就可以了
      

  7.   

    解决了,马上送分!!非常感谢 loverface(双面人)