<% final HttpServletRequest f = request; System.out.println("sdaddsdasdsd"); new Thread() { public void run() { RequestDispatcher rd; try { f.setCharacterEncoding("gb2312"); } catch (Exception e) { e.printStackTrace(); } String SiteName = f.getParameter("SiteName"); String Name = f.getParameter("Name"); String userAccount = f.getParameter("userAccount"); String userPasswd = f.getParameter("userPasswd"); String databaseAddress = f.getParameter("databaseAddress"); String databaseName = f.getParameter("databaseName"); String databaseAccount = f.getParameter("databaseAccount"); String databasePasswd = f.getParameter("databasePasswd"); System.out.println(SiteName); System.out.println(Name); System.out.println(userAccount); System.out.println(userPasswd); System.out.println(databaseAddress); System.out.println(databaseName); System.out.println(databaseAccount); System.out.println(databasePasswd); new org.Rudiment.Blog.Install(SiteName, userAccount, userPasswd, Name, databaseAddress, databaseName, databaseAccount, databasePasswd, f); } }.start(); %>
Sysyem.out.println() 全部都是null
如果放在Thread外面就可以获得值,这个以后再研究。研究出来的共享一下。
作者:failure01 发表于2013-4-13 17:57:16 原文链接
阅读:0 评论:0 查看评论