自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (1)
  • 收藏
  • 关注

转载 spring的 控制器

public class LoginAction extends SimpleFormController{ private Login login; private String viewPage; private String successPage; //ʵ��onSubmit�������� public ModelAndView onSubmit(Object comma

2013-09-22 22:27:29 11247

转载 Hibernate 的 select语句

Hibernate: select surveyopti0_.id as id2_, surveyopti0_.surveyId as surveyId2_, surveyopti0_.name as name2_ from surveyoption surveyopti0_ where surveyopti0_.surveyId=? Hibernate: select surveyopti

2013-09-22 22:18:42 601

转载 直接编译 servlet

javac -d classes/ -classpath lib/servlet-api.jar ../com/myHelloWorld/HelloWorld.java

2013-09-11 22:06:34 605

转载 标准Servlet

package com.myHelloWorld; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReq

2013-09-11 21:50:50 809

转载 JSP被编译成Serverlet

/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.42 * Generated at: 2013-09-03 12:56:20 UTC * Note: The last modified time of this file was set to * the

2013-09-11 21:47:30 924

转载 JSP拔萃

相当于调用foo.setFruit(request.getParameter("fruit")) 相当于调用foo.setFruit("fruit") <jsp:setProperty name="foo" property="*" /> 储存用户在Jsp输入的所有值,用于匹配Bean中的属性。在Bean中的属性的名字必须和request对象中的参数名一致.

2013-09-07 23:11:34 692

转载 session bean

<% cart.processRequest(); %> You have the following items in your cart: <% String[] items = cart.getItems(); for (int i=0; i<items.length; i++) { %> <% } %> session bean

2013-09-05 23:51:22 562

转载 动态定义tag参数

EchoAttributesTag.java public class EchoAttributesTag extends SimpleTagSupport implements DynamicAttributes { private ArrayList keys = new ArrayList(); private ArrayList values = ne

2013-09-05 23:36:29 666

转载 web.xml

<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyr

2013-09-05 23:28:53 707

转载 JSPX

<tags:xhtmlbasic xmlns:tags="urn:jsptagdir:/WEB-INF/tags" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns

2013-09-05 23:21:59 775

转载 另类Tag

JSP Item: ${name} Price: ${price} Item: ${name} Was: ${origPrice} Now: ${salePrice} displayProducts.tag

2013-09-05 23:18:39 587

转载 嵌入式Tag

First panel. WEB-INF/tag/panel.tag ${title}

2013-09-05 23:00:56 574

转载 jsp 使用Tag Class

import java.io.IOException; import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspTagException; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.tagext.TagSupport; /** * Ac

2013-09-05 22:54:33 1029

转载 jsp使用java Bean

元素使用Bean给定的setter方法,在Bean中设置一个或多个属性值。你在使用这个元素之前必须得使用声明 设置成员变量名和值 ${values.stringValue} ValuesBean public class ValuesBean { private String string; private double doubleValue; pri

2013-09-05 22:50:41 623

转载 JSP Tag实现定义 java文件

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyrig

2013-09-05 22:41:39 644

原创 JAVA精粹

点击打开链接

2013-09-05 22:34:58 528

转载 Hadoop

Running Hadoop On Ubuntu Linux (Multi-Node Cluster) - Michael G. Noll Running Hadoop On Ubuntu Linux (Single-Node Cluster) - Michael G. Noll Ubuntu11.10 12.04 安装JAVA JDK时出错:Package 'sun-java6-jdk'

2013-09-05 13:42:01 522

转载 Tag lib

WEB-INF/jsp2/jsp2-example-taglib.tld <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for

2013-09-03 21:47:10 669

原创 JSP Tags

${1 + 2} ${3 div 4} ${10%4} ${10 mod 4} ${(1==2) ? 3 : 4}

2013-09-03 21:24:31 673

原创 JSP 的奥义

1. 下载 tomcat 启动bin下的 startup.sh 2.  修改 conf/server.xml  加入            定义url和对应的base 3. 建立project      目录  jsp 、 放入 HelloWorld.jsp      在work目录下自动生成   .class文件和.java文件       /myHelloWorld/work/o

2013-09-03 21:12:22 529

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除