|
How can you manipulate server objects on the client? Change to this
<% @ page language = "java" contentType = "text / html; charset = gb2312"%>
<form method = "post" name = "form3" action = "action.asp"> / ** Submit to action * /
<tr>
<td>
<input name = "ddfind" type = "radio" value = "Order query" checked = "checked" id = "2" /> Order query
<input name = "ddfind" type = "radio" value = "contract query" id = "3" /> contract query
</ td>
</ tr>
</ form>
action.jsp
<%
String nowValue = request.getParameter ("ddfind"); // Get the value of ddfind
String tempFile = nowValue.equals ("Order query")? "Zy_info_10.jsp": "contract_search.jsp";
response.sendRedirect tempFile;
%> |
|