原创 JSP靜態包含和動態包含問題
check.jsp的代碼 <% String login =(String)session.getAttribute("login"); if(login==null||!login.equals("success")){ re
原创 eclipse RAP開發環境搭建
1、 在http://www.eclipse.org/downloads/下載Eclipse for RCP and RAP Developers。 2、啓動eclipse,進入welcome頁面,選擇overview,進入頁面點擊RAP
原创 C#運行cmd命令
using System; 02 using System.Collections.Generic; 03 using System.Linq; 04 using System.Text; 05 using Sys
原创 SharePoint網站搜索不到任何內容
今天沒事正好想測試一下,網站的搜索功能,無論我怎麼輸入,都是不報錯,但是找不到任何網頁。搜索服務起來了,搜索帳號是管理員,奇怪啊。 網上說要設置
原创 JS設爲首頁
<a href="javascript:void(0)" οnclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.wanjias
原创 如何更改一臺已經安裝了SharePoint Server的服務器名稱
似乎許多朋友遇到這樣的問題:服務器上已經安裝了SharePoint Server 2007,但需要改掉這個服務器的名稱。直接改的話,總是會導致網站無法訪問的情況。 具體做法可參考如下步驟: 第一步:在SharePoint3.0管理中心中修
原创 java實現的MD5加密算法
實現方法一: import java.security.MessageDigest; public class MD5 { public static String encode(String inStr){ try{ Me
原创 Java獲取字符串裏的漢字
獲取字符串中的所有漢字: public static String getChinese(String str) { char[] chars=str.toCharArray(); String chines
原创 禁止鼠標右鍵查看網頁源代碼
〈SCRIPT language=javascript〉 function click() { if (event.button==2) { alert(`你好,歡迎光臨!`
原创 VS2010更改SharePoint2010項目的調試站點
鼠標選中項目,“F4”查看項目屬性,“站點URL”屬性爲你設置的測試站點。
原创 SharePoint 2010 - System.UnauthorizedAccessException: Access is denied
I am sure many would have experienced this issue while connecting to a SharePoint site from an Asp.Net application. You
原创 獲取URL參數的值
ORYX.Utils = { /** * General helper method for parsing a param ou
原创 session、cookie與“記住我的登錄狀態”的功能的實現
Cookie的機制 Cookie是瀏覽器(User Agent)訪問一些網站後,這些網站存放在客戶端的一組數據,用於使網站等跟蹤用戶,實現用戶自定義功能。 Cookie的Domain和Path屬性標識了這個Cookie是哪一個網站發送給瀏
原创 C#判斷字符串中是否有漢字
using System; using System.Text.RegularExpressions; private bool Check(string pendingString) {
原创 JS加入收藏夾
<html> <head> <title>JS加入收藏夾</title> </head> <script> function addfavorite