MyException - 我的异常网
当前位置:我的异常网» Eclipse » <html:link用<bean:write name="element

<html:link用<bean:write name="element"/>做参数有关问题(5)

www.MyException.Cn  网友分享于:2013-12-29  浏览:56次

        }catch(IOException   e1){
        e1.printStackTrace();
        }
        }
        //if(httpForm.getName()!=null)
        //return   (mapping.findForward( "list "));
       
return   (mapping.findForward( "add "));
}
  public   ActionForward   delete(
ActionMapping   mapping,
ActionForm   form,
HttpServletRequest   request,
HttpServletResponse   response)   {
          System.out.println( "in   the   method   delete   from   <html:linkddddd ");
Http2Form   httpForm   =   (Http2Form)   form;
  //request.setAttribute( "form ",httpForm);
 
  System.out.println(httpForm.getCollege()+ "college ");
return   (mapping.findForward( "remove "));
}

}



------解决方案--------------------
第一个问题已经解决
: <html:link action= "/http2?method=delete&college= ' <bean:write name= "element "/> ' "> delete </html:link> 改写成如下
<html:link action= "/http2?method=delete " paramId= "element " paramName= "element "/>

第二个问题可能与我的系统有关系,希望大家参与讨论!

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有