httpd.conf<LocationMatch "^/+$"> Options -Indexes ErrorDocument 403 /error/noindex.html</LocationMatch> Read More
wampapche二级域名 Read More
注解配置在XML配置之前执行,所以后者会覆盖前者。 -----Spring Docs4.9.1@Required@Required应用于setter方法,例如: 1 public class SimpleMovieLister { 2 3 private MovieFinder movieFinder; 4 5 @Required 6 public void setMovieFinder(MovieFinder movieFinder) { 7 this.movieFinder = movieFinder; 8 } 9 ... Read More
3.The IoC container(2) Read More
CentOS 6.2安装配置LAMP服务器(Apache+PHP5+MySQL) Read More
Bean scopesScopeDescriptionsingleton(Default默认) Scopes a single bean definition to a single object instance per Spring IoC container.prototypeScopes a single bean definition to any number of object instances.requestScopes a single bean definition to the lifecycle of a single HTTP request; that is, e Read More
spring ioc官方文档 Read More
jquery $.fn $.fx是什么意思$.fn是指jquery的命名空间,加上fn上的方法及属性,会对jquery实例每一个有效。如扩展$.fn.abc(),即$.fn.abc()是对jquery扩展了一个abc方法,那么后面你的每一个jquery实例都可以引用这个方法了.那么你可以这样子:$("#div").abc();通常使用extend方法扩展,详细请看API.jQuery为开发插件提拱了两个方法,分别是:jQuery.fn.extend(object);jQuery.extend(object);jQuery.extend(object);为扩展jQuery类本 Read More
方法一: 向页面发送http头信息实现重定向 以下为引用的内容:<?php$GoTo="index.php";//如果这里的目标链接取自数据库就实现了动态转向header(sprintf("Location:%s",$GoTo));www.phperz.com?>www.phperz.com方法二: 用javascript 脚本实现页面的重定向以下为引用的内容:<?phpecho"<script>window.location=\"$PHP_SELF\";</script>" Read More
On this tutorial we will demonstrate how to setup Struts 2 in Eclipse, and make it work with Spring, Java Persistence API (using Hibernate) and Struts 2 Ajax tags.MySqlInstall and configure MySql. Create a database named "quickstart" and run the script below to create the "Person" Read More