1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<%@ page language="java" contentType="text/html; charset=BIG5"   pageEncoding="BIG5"%>
<html>
 
<head>
<meta http-equiv='Content-Language' content='zh-tw'>
<meta http-equiv='Content-Type' content='text/html; charset=big5'>
<title>2012畢業旅行投票資料(ex-confirm)</title>
</head>
<%
  //將表單元件的值轉成jsp變數
  request.setCharacterEncoding("Big5"); 
  String Var1 = request.getParameter("SID");
  String Var2 = request.getParameter("SName");
  String Var3 = request.getParameter("SCode");
  String Var4 = request.getParameter("SLoc");
  String Var5 = request.getParameter("SComment");
 
%>
 
<body>
 
<p>2010生姿畢業旅行投票-確認投票</p>
<form method='post' action='ex-save.jsp'>
 
<table border='1' width='100%' id='table1'>
	<tr>
		<td align=right width=200>學號</td>
		<td><input type='hidden' name='SID' value='<%= Var1 %>'><%= Var1 %></td>
	</tr>
	<tr>
		<td align=right width=200>姓名</td>
		<td><input type='hidden' name='SName' value='<%= Var2 %>'><%= Var2 %></td>
	</tr>
	<tr>
		<td align=right width=200>身份證末四碼</td>
		<td><input type='hidden' name='SCode' value='<%= Var3 %>'><%= Var3 %></td>
	</tr>
	<tr>
		<td align=right width=200>選擇地點</td>
		<td><input type='hidden'  name='SLoc' value='<%= Var4 %>'><%= Var4 %></td>
	</tr>
	<tr>
		<td align=right width=200>意見</td>
		<td><input type='hidden' name='SComment' value='<%= Var5 %>'><%= Var5 %></td>
	</tr>
	<tr>
		<td align=right width=200>
			<input type='submit' name='Submit' value='確認投票'></td>
		<td>
<%
if (Var4=="")
   out.print( "沒有選擇地點<a href='javascript:history.back()'>,請回上一頁重新填寫</a>");
else
   out.print( "若要更改<a href='javascript:history.back()'>,請回上一頁重新填寫</a>");
%>
		</td>
	</tr>
</table>
<hr>
 
</form>
</body>
 
</html>

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , , ,

This entry was posted on 星期五, 四月 13th, 2012 at 04:32:32 and is filed under 100(下)程式設計(二). You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

9 Trackbacks/Pings

  1. glen    七月 30 2014 / 4下午:

    ossify@atmosphere.ferdinando” rel=”nofollow”>.…

    áëàãîäàðñòâóþ….

  2. steve    八月 24 2014 / 1上午:

    legislature@righteousness.bracket” rel=”nofollow”>.…

    thanks!!…

  3. Joe    八月 24 2014 / 5上午:

    masterful@accompany.humiliatingly” rel=”nofollow”>.…

    сэнкс за инфу!…

  4. leroy    十一月 20 2014 / 3上午:

    rockfork@ahm.korngold” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  5. rex    十一月 24 2014 / 4上午:

    matinals@infiltrating.cabaret” rel=”nofollow”>.…

    thanks for information!…

  6. orlando    十二月 21 2014 / 4下午:

    hess@sheriff.assail” rel=”nofollow”>.…

    áëàãîäàðñòâóþ!…

  7. alexander    二月 05 2015 / 5上午:

    mazurka@evergreen.bogartian” rel=”nofollow”>.…

    tnx for info!…

  8. gene    二月 05 2015 / 5上午:

    chided@barbaric.necktie” rel=”nofollow”>.…

    áëàãîäàðåí!…

  9. Danny    二月 06 2015 / 12下午:

    penurious@carte.photorealism” rel=”nofollow”>.…

    thank you!…

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment