Subscribe:

Labels

Link List

Comments

Followers

<%@ page import="java.util.*" %> <% if(request.getMethod().equals("GET")){%> email_form <% }else{%> Email Submit

You Submitted the following info!

Name: <%=request.getParameter("name") %> Email: <%=request.getParameter("email") %> Subject: <%=request.getParameter("subject") %> Message: <%=request.getParameter("message") %> <% //Save the submitted variables in the HttpSession //so that the form can remember what was entered. session.setAttribute("name", request.getParameter("name")); session.setAttribute("email", request.getParameter("email")); session.setAttribute("subject", request.getParameter("subject")); session.setAttribute("message", request.getParameter("message")); //dump out all of the submitted variables as an HTML comment //to help debug the final values in the form. out.println(""); %> <%}%> <%! //Extract a variable from the session or return the default value if //the variable is not defined in the session. String getVar(String name, String defaultVal, HttpSession session){ Object obj = session.getAttribute(name); if(obj == null){ obj = defaultVal; } return obj.toString(); } %>
Starry Sun

VOTE

Apakah Anda Suka Blog Saya
Klik Untuk Menjawab

Album Bondan & Fade2black



» Bondan-Bumi Ke Langit (5,511 KB)
» Bondan-Kroncong Protol (3,904 KB)
» Bondan-Feels Like Home (3,814 KB)
» Bondan-Bunga (3,649 KB)
» Bondan Prakoso N Fade2Black - Xpresikan (3,901 KB)

» Bondan-Bumi Ke Langit (5,511 KB)
» Bondan - Kau Puisi (8,878 KB)
» Bondan - Not With Me (5,577 KB)
» Bondan - R.I.P (4,201 KB)
» Bondan - 1234 (1,022 KB)

» Bondan - Expresikan (550 KB)
» Bondan - For All (4,390 KB)
» Bondan - Good Time (3,644 KB)
» Bondan - Not With Me (1,220 KB)

» Bondan - Puisi (4,460 KB)
» Bondan - Respect (3,706 KB)
» Bondan - S.O.S (5,252 KB)
» Bondan - Sang Juara (1,080 KB)
» Bondan - Unity (4,696 KB)
» Bondan - Wrong Way (3,776 KB)

» Bondan - Xpresikan (977 KB)
» Bondan - Respect (3,620 KB)
» Bondan - Unity (4,625 KB)
» Bondan - 1234 (1,897 KB)
» Bondan - Bunga (3,649 KB)
» Bondan - For All (4,325 KB)


0 komentar: