response.setHeader("refresh","3");
response.sendRedirect("h.html");
response.setCharacterEncoding("gb18030");
response.setHeader("refresh","2;url=login.aspx");
session.setAttribute("","");
session.invalidate();
session.removeAttribute("");
Object session.getAttribute("");
<%@ 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=""/>
<?xml jfei ?>
<jfei>
<age>
<value property="jfei"/>
</age>
<sex>
<value property="famle"/>
</sex>
<length>
<value property="170cm"/>
</length>
<weight>
<value property="55kg"/>
</weight>
</jfei>
function isAlert()
{
alert("I'm tired,i want to have a rest");
}
p{
font-siize:12px;
text-align:center;
color:#2;
margin-left:23px;
position:23px;
}
.lp{
text-align:center;
color:12;
}
<html>
<head>
<title>jfei</title>
</head>
<body>
<p>jfei</p>
<p></p>
<li style="font-size"></li>
</body>
</html>
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;
}
}
//以下代码有没有错误
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();
...
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...
void main()
{ int a,b[10];
clrscr();
printf("Input ten numbers\n");
for(a=0;a<10;a++)
scanf("%d",&b[a]);
printf("Ten numbers are\n");
for(a=0;a<10;a++)
printf("%4d",b[a]);
}
//数组的赋值和输出