摘要: package name="member" namespace="/member" extends="struts-default"       action name="regist" class="cc.apl330.action.MemberAction"          result /suc.jsp/result           result name="isE... 阅读全文
posted @ 2010-12-14 10:51 apl 阅读(117) 评论(0) 推荐(0) 编辑
摘要: FormsAuthentication..::.HashPasswordForStoringInConfigFile 方法根据指定的密码和哈希算法生成一个适合于存储在配置文件中的哈希密码。 阅读全文
posted @ 2009-08-05 15:47 apl 阅读(304) 评论(0) 推荐(0) 编辑
摘要: a.cs页面中using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.We... 阅读全文
posted @ 2009-07-19 14:35 apl 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 当手机开机时,相当于一个Applicaion开始,然后当一个朋友打电话过来,此时一个Session开始,挂电话时相当于这个Session结束,然后又有一个朋友打电话过来,此时另一个Session开始。手机未关机说明Application还未结束 阅读全文
posted @ 2009-07-18 14:06 apl 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1、在内容页上,在<@page >字段中加入MasterPageFile=“文件地址”属性。2、在config.web 文件中的<configuration><system.web><pages.MasterPageFile="文件地址"/></system.web></configuration> 阅读全文
posted @ 2009-07-14 13:57 apl 阅读(254) 评论(0) 推荐(0) 编辑
摘要: ImageUrl属性要显示的图片路径。NavigateUrl属性要导向的网址。Text属性要显示的文本。注意:ImageUrl属性与Text属性同时设置了,只显示ImageUrl的值。因为ImageUrl属性优先于Text属性。图片无效时显示文本。Target属性定义加载链接到目标的窗口或框架。 阅读全文
posted @ 2009-07-02 16:45 apl 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 对于Web访问者而言,HyperLink、LinkButton控件是一样的,但它们在功能方面仍然有较大的差异。 当用户点击控件时,HyperLink控件会立即将用户“导航”到目标URL,表件不会回送到服务器上。LinkButton控件则首先将表件发回到服务器,然后将用户导航到目标URL。如果在“到达”目标URL之前需要进行服务器端处理,则使用Link... 阅读全文
posted @ 2009-07-02 15:38 apl 阅读(734) 评论(1) 推荐(0) 编辑
摘要: 要求:在一个Textox控件输入文字后鼠标点击空白处或者回车,Label控件的text属性值为"hi!"方法:TextBox的AutoPostBack 属性值为Ture ,在VS2005中双击TextBox控件进入代码视图,在TextChanged函数内加入如下的代码:label1.text="hi!";任务完成。 阅读全文
posted @ 2009-07-02 13:42 apl 阅读(473) 评论(0) 推荐(0) 编辑