原 文:平凡岁月:jira的安装(oracle数据库)http://www.trucy.org/blog/ray/archives/000927.html
以下是基于原文的补充完善后的内容:
JIRA是一个优秀的问题(or bugs,task,improvement,new feature )跟踪及管理软件。
它由Atlassian开发,采用J2EE技术.它正被广泛的开源软件组织,以及全球著名的软件公司使用,它堪称是J2EE的Bugzilla。
JIRA提供了全面的功能,界面十分友好,可用性以及可扩展性方面都十分出色,如果购买商业版许可,还可以得到JIRA的源码(在开发许可协议下可以定制自己的JIRA系统)。
今天找到一篇文章,写的是jira的安装,但是数据库是MS SQL2000,由于本机,只好另外学怎么链接oracle数据库。
注意:安装JIRA的机器要安装oracle客户端。
使用版本:JIRA 3.6 下载:http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-3.6-standalon ......
1. 实现对属性的 Ajax 修改:
1). 发送的 ajax 请求中需要包含哪些信息呢
①. 要修改的员工的 id.
②. 要修改的属性的名字.
③. 要修改的属性的值.
2). 在服务器端使用: BeanUtils.setProperty(employee, propertyname,
propertyvalue); 动态修改指定的属性. ......
-- 任意进制转换为10进制
-- 例 0FA 转换为 16进制 select dbo.f_BinaryToInt('0123456789ABCDEF', '0FA')
CREATE function dbo.f_BinaryToInt(@BinaryFormate varchar(100), @num varchar(200))
--@BinaryFormate 为自定义的进制格式
--@num 为要转换成10进制的自定义进制数
--16进制格式 0123456789ABCDEF
returns DECIMAL(18, 0)
as
BEGIN
declare @result DECIMAL(18, 0), @Binary int, @V char(1), @len int, @value int
SELECT @result=0, @Binary = LEN(@BinaryFormate), @len = 0
SET @num = rtrim(ltrim(upper(reverse(@num)))) --为方便计算,将字符串反向
WHILE @len < LEN(@Num)
BEGIN
SET @V = SUBSTRING(@num, @len + 1, 1)
SET @value = CHARINDEX(@v, @BinaryFormate) -1
SET @result = @value*power(@Binary, @len) + @result
SET @len = @len + 1
END
&n ......
<OBJECT id=WebBrowser height=0 width=0
classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2></OBJECT>
<INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
<INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
<INPUT onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
<INPUT onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
<INPUT onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
<INPUT onclick=window.location.reload() type=button value=刷新 name=refresh>
<INPUT onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
<INPUT onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
<INPUT onclick="window.external.AddFavorite(location.href, document.title)" ......
<html>
<head>
<title>实现字体阴影 </title>
</head>
<body>
<div STYLE="position:relative; width=480;
filter:Shadow(color=red, direction=135);
color:white; "align="center">
<p style="font-size:48">欢迎光临我的主页 </p>
</div>
<div >
<span style="background:#BDD3F7">第 </span> 102
<span style="background:#BDD3F7">号 </span>
</div>
</body>
</html> ......
System.Net.WebRequest request = System.Net.WebRequest.Create("http://la.jmw.com.cn/c.asp");
request.UseDefaultCredentials = false;
System.Net.WebResponse response = request.GetResponse();
System.IO.Stream resStream = response.GetResponseStream();
System.IO.StreamReader sr = new System.IO.StreamReader(resStream, System.Text.Encoding.Default);
string m_str = System.Web.HttpUtility.HtmlEncode(sr.ReadToEnd());
Response.Write(m_str);
System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"[^0-9]");
//m_str = m_str.Replace(r, "");
if ......