如何解决身份跳转问题,救命的,请各位大侠不吝赐教!!!!

<%@pagecontentType="text/html;charset=gb2312"language="java"import="java.sql.*"errorP... <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {
font-size: 36px;
font-weight: bold;
}
body {
background-image: url(2.jpg);
}
body,td,th {
color: #000000;
}
.STYLE4 {font-size: 36px; font-weight: bold; color: #000000; }
.STYLE5 {font-size: 24px}
.STYLE6 {color: #0099FF}
-->
</style>
</head>

<body>
<form id="form1" name="form1" method="post" action="check.jsp" onsubmit="return check();">
<p align="center" class="STYLE4" >教师网上辅导答疑系统</p>
<p align="center" class="STYLE1" > </p>
<p align="center" class="STYLE1" > </p>
<p align="center" class="STYLE1" > </p>
<p align="center" class="STYLE1" > </p>

<div align="center">
<table width="420" height="215" border="1">
<tr>
<td width="125"><strong>用户编号:</strong></td>
<td width="232"><input name="id" type="text" id="id" datatype="Require " msg="编号不能为空值"/></td>
</tr>
<tr>
<td><strong>用户密码:</strong></td>
<td><input name="password" type="text" id="password" datatype="SafeString " msg="密码必须是数字加字母,并长度要大于等于6位"/></td>
</tr>
<tr>
<td><strong>用户身份:</strong></td>
<td><select name="identity" id="identity" "Operation" datatype="Require" msg="未选择您的身份" >
<option value="">请选择你的身份</option>
<option value="学生">学生</option>
<option value="教师">教师</option>

</select>
</td>
</tr>
<tr>
<td height="64"> </td>
<td><label>
<input type="submit" name="Submit" value="确定" />
<input name="rest" type="reset" id="rest" value="取消" />
</label></td>
</tr>
</table>
<p class="STYLE5">还没注册的请<a href="answer-reg.jsp" class="STYLE6">注册</a></p>
<p> </p>
</div>
</form>
</body>
</html>
如果我想用学生的身份登录跳到一个提问的界面,而用老师身份登录的时候跳到一个回复的界面,请问应该怎么编写,小弟用来急着救命的,大侠们救下我吧!!!!
展开
 我来答
骏奇0IH
2009-03-19
知道答主
回答量:21
采纳率:0%
帮助的人:0
展开全部
你把分值调到20分,我就告诉你
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式