<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%!String memberkind;
%>
<%
memberkind=request.getParameter("memberkind");
//memberkind=getStr(memberkind);
if(memberkind.equals("normal")
&& request.getParameterValues("next")[0].trim().equals("下一步"))
{response.sendRedirect("reg.jsp");
}
else if(memberkind.equals("community")
&& request.getParameterValues("next")[0].trim().equals("下一步"))
{response.sendRedirect("../member/memberreg.jsp");
}
else if(memberkind.equals("company")
&& request.getParameterValues("next")[0].trim().equals("下一步"))
{response.sendRedirect("../company/companyreg.jsp");
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>注册第一步</title>
</head>
<body>
<%@ include file="header.inc" %>
<table width="759" border="0">
<tr>
<td>当前位置>>注册第一步</td>
</tr>
</table>
<table width="759" height="526" border="0">
<tr>
<td width="136" height="24"> </td>
<td width="613">选择会员种类:</td>
</tr>
<form method="post" action="" >
<tr>
<td height="21"> </td>
<td bgcolor="#FFFFFF"> <p>
<input type="radio" name="memberkind" value=normal>
普通会员</p>
<p><font color="#996600">●<font color="#000000">非本社区人员提交注册信息后注册成为普通会员。</font></font></p>
<p><font color="#996600">●<font color="#000000">普通会员可以进入论坛。</font></font></p>
<p><font color="#000000"> <input type="radio" name="memberkind" value=community>
社区会员</font></p>
<p><font color="#996600">●<font color="#000000">社区住户提交注册信息后经本社区网站工作人员审核后注册成为社区会员。</font></font></p>
<p><font color="#996600">●<font color="#000000">在提交个人基本信息后一个工作日内我们将会把审核后注册情况发往您的邮箱。</font></font></p>
<p><font color="#996600"><font color="#996600">●</font><font color="#000000">社区会员可以通过本站搜索企业用工信息。</font></font></p>
<p><font color="#996600">●<font color="#000000">社区会员可以进入论坛。</font></font></p>
<p><font color="#000000"> <input type="radio" name="memberkind" value=company>
企业会员</font></p>
<p><font color="#996600">●<font color="#000000">企业用户提交注册信息后经本社区网站工作人员审核后注册成为企业会员。</font></font></p>
<p><font color="#996600">●<font color="#000000">在提交企业基本信息后三个工作日内我们将会把审核后注册情况发往您的邮箱并电话
通知您 。</font></font></p>
<p><font color="#996600">●<font color="#000000">企业会员可以发布用工信息。</font></font></p>
<p><font color="#996600">●<font color="#000000">企业会员可以站内搜索所需人员。</font></font></p></td>
</tr>
<tr>
<td> </td>
<td bgcolor="#FFFFFF">
<div align="center">
<input type="submit" name="next" value="下一步">
</div></td>
</tr>
</form>
</table>
<p> </p>
<p> </p></body>
</html>
三的单选,如何在点“下一步”之后打开不同的页面??代码已经给出但有点问题
帮看一下。
<form method="post" action="" >改为<form method="post" action="" target="blank">
<form method="post" action="next.jsp" >
next.jsp
在此页面中得到单选框的值,根据值的不同,转到不同的页面.
也可以写一servlet实现MVC中的C.