What things should a programmer implementing
the technical details of a web application consider before making the site
public? If Jeff Atwood can for...
分类:
移动开发 时间:
2014-05-24 07:46:17
阅读次数:
405
一、前后台代码:Global.cs:using
System.Web.Routing;。。。void Application_Start(object sender, EventArgs e) { //
在应用程序启动时运行的代码 //RegisterRoutes(); RegisterRoutes...
分类:
Web程序 时间:
2014-05-24 04:47:43
阅读次数:
295
Web文件的ContentType类型大全-来自网络ContentType属性指定服务器响应的HTTP内容类型。如果未指定ContentType,默认为text/html。在ASP中使用它:
".*"="application/octet-stream" ".001"="applicatio...
分类:
Web程序 时间:
2014-05-24 02:23:09
阅读次数:
411
Insert title
herec:out标签的使用可以获取request,session,application的值 parameter的值(得到不了):
---${attr_request} ---${attr_session} ---${attr_applicati...
分类:
Web程序 时间:
2014-05-23 12:24:14
阅读次数:
493
一、 Oracle集群体系结构Oracle RAC,全称是Oracle Real
Application Cluster,即真正的应用集群,是oracle提供的一个并行集群系统,整个集群系统由Oracle Clusterware
(集群就绪软件)和 Real Application Clusters...
分类:
数据库 时间:
2014-05-23 11:33:51
阅读次数:
511
Jetty 的基本架构Jetty 目前的是一个比较被看好的 Servlet 引擎,它的架构比较简单,也是一个可扩展性和非常灵活的应用服务器,它有一个基本数据模型,这个数据模型就是 Handler,所有可以被扩展的组件都可以作为一个 Handler,添加到 Server 中,Jetty 就是帮你管理这些 Handler。下图是 Jetty 的基本架构图,整个 Jetty 的核心组件由 Server ...
分类:
其他好文 时间:
2014-05-22 13:12:28
阅读次数:
415
Create a Project with Eclipse
Click New in the toolbar.In the window that appears, open the Android folder, select Android Application Project, and click Next.
Figure 1. The New Android A...
分类:
系统相关 时间:
2014-05-22 11:55:51
阅读次数:
418
Spring为我们提供了:org.springframework.web.servlet.HandlerInterceptor接口,org.springframework.web.servlet.handler.HandlerInterceptorAdapter适配器,实现这个接口或继承此类,可以非常方便的实现自己的拦截器。有以下三个方法:Action之前执行public boolean preH...
分类:
编程语言 时间:
2014-05-22 11:53:48
阅读次数:
241
session
服务器用于缓存数据会话技术
默认情况:session依赖于cookie
对象HttpSession
1.session原理:
根据上图分析如下:
a.浏览器发送请求到服务器,并交给一个servlet进行处理。此时request.getSession()第一次创建session对象,将sessionId以cookie的方式发送给浏览器。同时在服务端会保存sessi...
分类:
编程语言 时间:
2014-05-22 08:08:44
阅读次数:
191
项目名称:/cookieDemo2Record
需求:
模拟用户在网上商城,浏览商品,同时显示商品的浏览记录
1.查询所有商品页面-index.jsp/index.html
a.查询所有商品的按钮-----FindAllBooksServlet.java-com.ghsy.servlet
2.显示商城的商品
a.用bean存储商品-com.ghsy.domain
b.db包中的...
分类:
其他好文 时间:
2014-05-20 16:29:38
阅读次数:
311