jsp的动作

<jsp:useBean id="" class="" scope=""/><jsp:setProperty name="" value=""/><jsp:getProperty name="" value=""/><jsp:include page="url" flush="true"/>
2011-12-10 10:51 | 阅读 1146 次 | 评论 0 条

session

void session.setAttribute("",""); Object session.getAttribute(""); response.setHeader("",""); response.setCharacterEncoding("gb18030"); String request.getParameter(); String request.getParameterValues(); request.setCharacterEncoding("gb18030");
2011-12-05 12:14 | 阅读 1245 次 | 评论 0 条

struts2的tags

1.<%@ taglib prefix="s" uri="/struts-tags"%> 2.<s:form name="" action="" namespace=""> <s:textfield name="" label="name"/> <s:password name="" label="pass"/> <s:textarea name="" label="advice"/> <s:submit name="" label="submit"/> </s:form> 3.<s:action name...
2011-12-01 17:04 | 阅读 1245 次 | 评论 0 条

内置对象

session session.setAttribute("name","name"); Object session.getAttribute("name"); response response.setCharacterEncoding("gb18030"); response.setHeader("refresh","2;url=123.html"); response.sendRedirect("123.html"); request request.setCharacterEncoding("gb18030"); String requet.getParam...
2011-11-03 15:26 | 阅读 1142 次 | 评论 0 条

Servlet

Servlet的生存周期 三个过程 1.init 2.service 3.destory
2011-09-15 14:45 | 阅读 804 次 | 评论 0 条

CheckString

class CheckString{ public CheckString(Object object,String str){ if(Integer instanceof object){ System.out.println("The value is"+object.getValue); } else if(object.equals(str)){ System.out.println("The value ...
2011-09-15 14:43 | 阅读 1016 次 | 评论 0 条

session

session.setAttribute("name","郑州标牌厂家"); session.setAttribute("keywords","郑州路牌厂家"); session.setAttribute("keywords2","郑州停车场设施"); session.setAttribute("keywords3","国通标牌"); session.invalidate(); <!-- web的session -->
2011-09-08 15:18 | 阅读 980 次 | 评论 0 条

request

request.setCharacterEncoding("gb18030"); String name = request.getParameter("jingfei");
2011-09-05 17:17 | 阅读 945 次 | 评论 0 条

response

response.setHeader("refresh","3"); response.sendRedirect("h.html"); response.setCharacterEncoding("gb18030"); response.setHeader("refresh","2;url=login.aspx");
2011-09-05 17:16 | 阅读 832 次 | 评论 0 条

session

session.setAttribute("",""); session.invalidate(); session.removeAttribute(""); Object session.getAttribute("");
2011-09-05 17:14 | 阅读 890 次 | 评论 0 条

page

<%@ page pageEncoding="gb18030"%> <%@ page contextType=""%> <%@ page language=""%> <%@ page import=""%> <%@ taglib prefix="" uri=""%><%@ include file=""%><jsp:include page="" flush="true"/> <jsp:forward page=""/> <jsp:useBean id="" scope=""/>
2011-09-03 16:58 | 阅读 924 次 | 评论 0 条
浏览59716次
最新评论