person

<?xml person --//http:www.hngutong.com/com/jfei/20110907.dsd?> <person> <property name="name" value="jfei"/> <property name="age" value="23"/> <property name="sex" value="famele"/> <property name="payment" value="1000$"/> <property name="address" ...
xml | 2011-09-07 15:23 | 阅读 931 次 | 评论 0 条

request

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

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 | 阅读 765 次 | 评论 0 条

session

session.setAttribute("",""); session.invalidate(); session.removeAttribute(""); Object session.getAttribute("");
jsp | 2011-09-05 17:14 | 阅读 825 次 | 评论 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 | 阅读 858 次 | 评论 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 | 阅读 823 次 | 评论 0 条

alert

function isAlert() { alert("I'm tired,i want to have a rest"); }
javascript | 2011-09-03 16:41 | 阅读 833 次 | 评论 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 | 阅读 906 次 | 评论 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 | 阅读 893 次 | 评论 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 | 阅读 1361 次 | 评论 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 | 阅读 884 次 | 评论 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 | 阅读 973 次 | 评论 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 | 阅读 795 次 | 评论 0 条

编程心得

我是学习编程的,学过的编程语言有c,java,html,css,javascript。刚开始学习C语言的时候,不知道main()方法的功能,常用的库(比如stdio.h,math.h,conio.h),更严重的是不知道"%d"代表啥含义,最严重的是不知道怎样保存一个文件。 在老师、同学、和我自己帮助下,每天晚上看C程序,每天用心写一两个程序,让程序像诗歌一样呈现出来。尤其在调试C程序时,用的是Turb2.0。经历一年多的时间,渐渐懂得数据类型、函数、指针的定义和用法。 学习java的时候,为了搞懂类和对象的区别,我们几个同学常常聊到晚上十一点左右。想想大学生活,...
心得 | 2011-08-27 17:02 | 阅读 995 次 | 评论 0 条

System

public class SysTem{ public static void main(String args[]){ System.out.println("Hello,world"); } } //Hello,world Java SE
java | 2011-08-27 16:45 | 阅读 885 次 | 评论 0 条

main

void output() { int a,b; clrscr(); printf("input two number\n"); scanf("%d%d",&amp;a,&amp;b); printf("%4d%4d",a,b); } void main() { output(); } //使用main()方法调用output()方法
c | 2011-08-27 16:43 | 阅读 892 次 | 评论 0 条
浏览56089次
最新评论