问一个JSP向JAVABEAN传值的问题
我想在JSP中批量传递填写的值!比如同一个页面有同一个name的input标签有很多,怎么传递个JAVABEAN,然后再用JAVABEAN里的什么方法可以遍历出来批量上传的数据库中了!请不要用框架的东西回答。谢谢!~
------最佳解决方案-------------------- ...放一个数组中
------其他解决方案-------------------- request.getParameterValues("名称");
------其他解决方案-------------------- 引用: 在问一下description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException : error in invoking method
org.apache.jas……
描述:服务器遇到内部错误(),使它无法满足这个要求。
例外
在调用方法org.apache.jasper.
JasperException :错误
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:405)。
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:352)。
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:330)。
org.apache.jsp.ch05.manageJob_jsp._jspService(manageJob
------其他解决方案-------------------- 通过serlvet 根据request.getParameter("form表单里的元素明")
然后再根据你前面定义的entity层,dao层,biz层,daoimpl层,bizimpl层 进行向数据库添加信息
------其他解决方案-------------------- 怎么放,能不能具体些,谢谢!~
------其他解决方案-------------------- 在问一下description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: error in invoking method
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:405)
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:352)
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:330)
org.apache.jsp.ch05.manageJob_jsp._jspService(manageJob_jsp.java:55)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
org.apache.jasper.JasperException: error in invoking method
org.apache.jasper.runtime.JspRuntimeLibrary.createTypedArray(JspRuntimeLibrary.java:577)
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:394)
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:352)
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:330)
org.apache.jsp.ch05.manageJob_jsp._jspService(manageJob_jsp.java:55)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:8