⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.jsp

📁 struts+hibernate BBS mysql数据库 功能基本齐全
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>


<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'Index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	</head>
	<body>
		<%
			Enumeration es = request.getParameterNames();
			String strSum = "";
			for (; es.hasMoreElements();) {
				String name = (String) es.nextElement();
				String str = "";
				//out.println(s + "=" + request.getParameter(s));
				String[] values = request.getParameterValues(name);
				for (int i = 0; values.length > i; i++) {

					str = str + name + "=" + values[i] + "&";
				}
				str = str.substring(0, str.length() - 1);
				strSum = strSum + str;
			}
			out.println(strSum);
			//out.println(strSum.substring(strSum.length() - 1));
		%>
		<form action="/ElanNet/forum/index.do" method="post">
			<input type="text" name="username" />
			<br>
			<input type="password" name="password" />
			<br>
			<input type="submit" name="submit" value="登陆" />
			<input type="reset" name="reset" value="重新" />
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -