内置对象

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...
jsp | 2011-11-03 15:26 | 阅读 1081 次 | 评论 0 条

orm映射

<? version="1.0" encoding="utf-8"?> <!-- //www.hnguotong.com/123.dsd --> <!-- 道路标牌|郑州标牌厂家|路名牌|郑州路牌厂家|郑州停车场设施|郑州交通设施--> <hibernate-mapping> <class name="person" table="personId" type="long"> <id name="pid" length="12" not-null="null"> <generate name="native"/> ...
xml | 2011-11-03 15:22 | 阅读 774 次 | 评论 0 条

数组赋值

void main() { int a,b,c[10]; //道路标牌|郑州标牌厂家|路名牌|郑州路牌厂家|郑州停车场设施|郑州交通设施 clrscr(); printf("Input ten numbers\n"); for(a=0;a<10;a++) scanf("%d",&amp;c[a]); printf("Ten numbers are\n"); for(a=0;a<10;a++) printf("%4d",c[a]); printf("\n"); getch(); for(a=0;a...
c | 2011-11-03 15:12 | 阅读 697 次 | 评论 0 条
浏览56082次
最新评论