response

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

session

session.setAttribute("",""); session.invalidate(); session.removeAttribute(""); Object session.getAttribute("");
jsp | 2011-09-05 17:14 | 阅读 879 次 | 评论 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=""/>
jsp | 2011-09-03 16:58 | 阅读 912 次 | 评论 0 条

CSS

<?xml jfei ?> <jfei> <age> <value property="jfei"/> </age> <sex> <value property="famle"/> </sex> <length> <value property="170cm"/> </length> <weight> <value property="55kg"/> </weight> </jfei>
xml | 2011-09-03 16:53 | 阅读 875 次 | 评论 0 条

alert

function isAlert() { alert("I'm tired,i want to have a rest"); }
javascript | 2011-09-03 16:41 | 阅读 885 次 | 评论 0 条

p

p{ font-siize:12px; text-align:center; color:#2; margin-left:23px; position:23px; } .lp{ text-align:center; color:12; }
css | 2011-09-03 16:40 | 阅读 968 次 | 评论 0 条

html

<html> <head> <title>jfei</title> </head> <body> <p>jfei</p> <p></p> <li style="font-size"></li> </body> </html>
html | 2011-09-03 16:35 | 阅读 939 次 | 评论 0 条

Custructor

class Car{ String color; float length; long id; public Car(){ } public Car(String color,float length,long id){ this.color= color; this.length =length; this.id =id; } public String toString(){ reutrn color+length+id; } }
java | 2011-09-02 18:10 | 阅读 1424 次 | 评论 0 条

Date

//以下代码有没有错误 class DateDemo{ public static void main(String args[]){ Date d =new Date(); SimpleDateFormat sf =new SimpleDateFormat("yyyy-MM-dd"); System.out.println("Time is"+sf.format(d)); System.out.println(); ...
java | 2011-09-02 18:07 | 阅读 941 次 | 评论 0 条

String

class StringTest{ public static void main(String args[]){ System.out.println("Input one String\n"); String s ="jfei"; System.out.println(s.length()); System.out.println(s.charAt(1)); System.out.println(s.substring(2,2)); System.ou...
java | 2011-09-02 18:04 | 阅读 1041 次 | 评论 0 条

array

void main() { int a,b[10]; clrscr(); printf("Input ten numbers\n"); for(a=0;a<10;a++) scanf("%d",&amp;b[a]); printf("Ten numbers are\n"); for(a=0;a<10;a++) printf("%4d",b[a]); } //数组的赋值和输出
c | 2011-09-02 18:02 | 阅读 856 次 | 评论 0 条
浏览59288次
最新评论