xp系统不认2t移动硬盘:flash的getURL()如何传值?

来源:百度文库 编辑:神马品牌网 时间:2024/05/08 11:38:10
<%
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection con = java.sql.DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433; DatabaseName = nailgame","ok","ok");

Statement stmt = con.createStatement();
String number=request.getParameter("id");
String sql="select * from introduction where id='"+number+"'";
ResultSet rst = stmt.executeQuery(sql);
while(rst.next())
{
out.println(rst.getString("introduction"));
}
rst.close();
stmt.close();
con.close();
%>

查资料发现actionscript下有 getURL(url [ , window [, "variables"]])

想传id得到相对应的introduction.用
on (release) {
getURL("page.jsp?id=1","_self","post");

}

却不能得到id的值,该如何解决呢?