垃圾广告请走开
作者:lingmincc 日期:2008-11-03
java.lang.RuntimePermission accessDeclaredMembers
作者:lingmincc 日期:2008-10-04
// ========== WEB APPLICATION PERMISSIONS =====================================
// These permissions are granted by default to all web applications
// In addition, a web application will be given a read FilePermission
// and JndiPermission for all files and directories in its document root.
...
// These permissions are granted by default to all web applications
// In addition, a web application will be given a read FilePermission
// and JndiPermission for all files and directories in its document root.
...
标签:
Ant之junit测试
作者:lingmincc 日期:2008-05-16
Struts之Validator框架的应用
作者:lingmincc 日期:2008-04-21
JSP之下拉框显示(struts1.2.9)
作者:lingmincc 日期:2008-04-21
JSP之下拉框层次显示
作者:lingmincc 日期:2008-04-21
jdk之native2ascii用法
作者:lingmincc 日期:2008-04-10
由于jdk自带了native2ascii.exe转码器,用起来很方便啦!dos下运行就OK啦!
1. native2ascii -encoding xx(例如:utf-8) 源文件(例如:ApplicationResources.properties) 目标文件(例如:cn.properties)
这句的意思就是说将源文件转换成xx(例如:utf-8)格式的文件
2. native2ascii -reverse -encoding xx(例如:utf-8) 源文件(例如:ApplicationResources.properties) 目标文件(例如:cn.properties) ...
1. native2ascii -encoding xx(例如:utf-8) 源文件(例如:ApplicationResources.properties) 目标文件(例如:cn.properties)
这句的意思就是说将源文件转换成xx(例如:utf-8)格式的文件
2. native2ascii -reverse -encoding xx(例如:utf-8) 源文件(例如:ApplicationResources.properties) 目标文件(例如:cn.properties) ...
标签:
access-vba这弹出对话框(限制后缀)
作者:lingmincc 日期:2008-02-25
Dim myDialog As FileDialog
Set myDialog = Application.FileDialog(msoFileDialogFilePicker)
With myDialog
.Filters.Clear
.AllowMultiSelect = False
//只加入了两种后缀的
.Filters.Add "Excel形式", "*.xls", 1
.Filters.Add "CSV形式", "...
Set myDialog = Application.FileDialog(msoFileDialogFilePicker)
With myDialog
.Filters.Clear
.AllowMultiSelect = False
//只加入了两种后缀的
.Filters.Add "Excel形式", "*.xls", 1
.Filters.Add "CSV形式", "...
标签:
access-vba之文件(.xls;.csv)操作
作者:lingmincc 日期:2008-02-25
1.xls文件读取
Dim rs As New ADODB.Recordset
Dim strSQL As String
strSQL = "DBQ=" & filePath & ";driver=Microsoft Excel Driver (*.xls)"
rs.Open "SELECT * FROM [Sheet1$]", strSQL, adOpenKeyset, adLockOptimistic
Set DataGrid1.DataSource = rs //数据与datagrid绑定
Set rs = Noth...
Dim rs As New ADODB.Recordset
Dim strSQL As String
strSQL = "DBQ=" & filePath & ";driver=Microsoft Excel Driver (*.xls)"
rs.Open "SELECT * FROM [Sheet1$]", strSQL, adOpenKeyset, adLockOptimistic
Set DataGrid1.DataSource = rs //数据与datagrid绑定
Set rs = Noth...
标签:
linux之cvs服务器配置
作者:lingmincc 日期:2008-02-25
1.查看是否安装cvs
rpm -qa|grep cvs
一般安装在/usr/bin/cvs,如果未安装,到www.cvshome.org下载一个最新的rpm安装即可
rpm -ivh cvs-1.11.2-10.i386.rpm
2.建立cvs用户组,便于管理cvs用户
groupadd cvs
3.建立cvs组的cvsroot用户和所属的目录
useradd cvsroot -g cvs
4.为cvsroot用户添加密码
passwd cvsroot
5.改变/home/cvsroot的目录属性
...
rpm -qa|grep cvs
一般安装在/usr/bin/cvs,如果未安装,到www.cvshome.org下载一个最新的rpm安装即可
rpm -ivh cvs-1.11.2-10.i386.rpm
2.建立cvs用户组,便于管理cvs用户
groupadd cvs
3.建立cvs组的cvsroot用户和所属的目录
useradd cvsroot -g cvs
4.为cvsroot用户添加密码
passwd cvsroot
5.改变/home/cvsroot的目录属性
...
标签:
RedHat4之GNU Radius源码安装
作者:lingmincc 日期:2007-10-23
Linux之mySQL源码安装
作者:lingmincc 日期:2007-10-19
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-mymedium.cnf /etc/my.cnf
shell&...
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-mymedium.cnf /etc/my.cnf
shell&...
标签:
Crystal Reports 水晶报表
作者:lingmincc 日期:2007-09-10
try
{
//create a new ReportDocument object
ReportDocument rdPublishers = new ReportDocument();
//load the Publishers.rpt into rdPublishers
//using Path.GetFullPath(".") returns the current
//application directory where the report is located
String str=Ap...
{
//create a new ReportDocument object
ReportDocument rdPublishers = new ReportDocument();
//load the Publishers.rpt into rdPublishers
//using Path.GetFullPath(".") returns the current
//application directory where the report is located
String str=Ap...
标签:






