【正文】
學(xué)習(xí)好幫手}} 配置 StrutsStruts 框架需要通過一個(gè)專門的配置文件來控制,它就是 ,當(dāng)然也可以取其它名字。 // 輸出異常信息}} 字符串處理類的編寫字符串處理類主要用于解決程序中經(jīng)常出現(xiàn)的有關(guān)字符串處理問題,包括將數(shù)據(jù)庫中有中文問題的字符串進(jìn)行正確地顯示和對(duì)字符串中的空值進(jìn)行處理的方法。result = (sql)。// 調(diào)用 getConnection()方法構(gòu)造 Connection 對(duì)象的一個(gè)實(shí)例 connstmt = (,)。具體代碼如下:public static Connection getConnection() {Connection conn = null。public ConnDB() { //定義構(gòu)造方法try { //捕捉異常//將 Properties 文件讀取到 InputStream 對(duì)象中InputStream in = getClass().getResourceAsStream(propFileName)。 //導(dǎo)入 類public class ConnDB {public Connection conn = null。表 tb_shortInfo 的結(jié)構(gòu)如表37 所示。表 tb_manager 的結(jié)構(gòu)如表 33 所示。例如,中小型企業(yè)需要選擇操作簡(jiǎn)單、界面友好的數(shù)據(jù)庫系統(tǒng),而大型企業(yè)則需要選擇安全、數(shù)據(jù)存儲(chǔ)容量大的數(shù)據(jù)庫系統(tǒng)。事實(shí)上,很多中小應(yīng)用不需要采用 EJB 等技術(shù),JSP和 Servlet 已經(jīng)足夠,這時(shí)如果用應(yīng)用服務(wù)器就有些浪費(fèi)了。 另外,在 Tomcat 中,還可以利用 Servlet 提供的事件監(jiān)聽器功能,來對(duì)程序的應(yīng)用或者 Session 實(shí)行監(jiān)聽。瀏覽器中訪問這個(gè)應(yīng)用的 JSP 時(shí),通常第一次會(huì)很慢,因?yàn)?Tomcat 要將 JSP 轉(zhuǎn)化為 Servlet 文件,然后編譯。由于有了 Sun 的參與和支持,最新的 Servlet 和 JSP 規(guī)范總能在 Tomcat 中得到體現(xiàn)。 發(fā)行版包括在 和 版本基礎(chǔ)上對(duì) bug 的修復(fù)和功能的加強(qiáng)。(6) 對(duì) Web 技術(shù)的支持。 數(shù)據(jù)庫—SQL Server 2022 特點(diǎn)SQL Server 2022 是 Microsoft 公司 2022 年推出的 SQL Server 數(shù)據(jù)庫管理系統(tǒng)的版本。(3) Java 開發(fā)包: 以上。(3) 提供功能強(qiáng)大的信息庫系統(tǒng),方便用戶進(jìn)行短信息的編寫。(3) 收發(fā)短信:用于短信信息(如短信編號(hào)、短信內(nèi)容、收信人的手機(jī)號(hào)碼、發(fā)信人、發(fā)信時(shí)間等)進(jìn)行添加、刪除、修改和查詢操作。(2) 系統(tǒng)后臺(tái)由于本系統(tǒng)既可以被中小型的企業(yè)所選擇,又可以被一些大型企業(yè)作為日常通信軟件所使用,所以在設(shè)計(jì)時(shí),需要充分考慮不同企業(yè)的需求。企業(yè)信息管理是信息管理的一種形式,把信息作為待開發(fā)的資源,把信息和信息的活動(dòng)作為企業(yè)的財(cái)富和核心。(4) 由簡(jiǎn)單的數(shù)據(jù)處理階段進(jìn)入到了深層次的數(shù)據(jù)模型、模擬階段。根據(jù)研究還發(fā)現(xiàn):一些企業(yè)已經(jīng)投入使用的模塊,實(shí)際中并未發(fā)揮作用,它只是針對(duì)若干局部系統(tǒng),或者特定類型的產(chǎn)品的試運(yùn)行。在企業(yè)信息化的今天,效率決定成敗,企業(yè)內(nèi)、外部溝通的及時(shí)性將直接影響企業(yè)的運(yùn)作效率。企業(yè)信息管理系統(tǒng)實(shí)際上可以說是企業(yè)通訊的一個(gè)應(yīng)用延伸,采用企業(yè)信息管理系統(tǒng)將是提高工作效率最好的解決方案,它既可以滿足內(nèi)部員工的溝通習(xí)慣,又解決了公司制度和網(wǎng)絡(luò)安全等問題,一舉兩得。同時(shí),中國(guó)企業(yè)受中華民族深遠(yuǎn)文化的影響有其與西方企業(yè)所不同的管理文化底蘊(yùn)。雖然短信有以上諸多優(yōu)點(diǎn),但它還是有一定的不足,如信息內(nèi)容單一和受到字?jǐn)?shù)限制等。短信和 Email 已經(jīng)成為人與人之間溝通的橋梁,越來越多的人開始選擇選擇通過網(wǎng)絡(luò)進(jìn)行即時(shí)溝通。MVC 即為模型視圖控制器,在 Struts 框架中,模型由 JavaBean 組成,用來實(shí)現(xiàn)程序的業(yè)務(wù)邏輯部分,視圖主要由 JSP 文件構(gòu)成, ActionServlet、RequestProcessor 和 Struts 輔助類來實(shí)現(xiàn)控制器。.. . . ..學(xué)習(xí)好幫手摘 要隨著互聯(lián)網(wǎng)的迅速發(fā)展,短信和 Email 已經(jīng)成為人與人之間溝通的橋梁,越來越多的人開始選擇通過網(wǎng)絡(luò)進(jìn)行即時(shí)溝通。 企業(yè)信息管理系統(tǒng)的開發(fā)采用 MVC 設(shè)計(jì)模式和 Struts 框架。s operating efficiency, therefore the enterprise information management system significantly improves the work efficiency and collaboration. It is also given enterprise information management present situation and development trend, we hereby offer this topic and carrying out the related work. In the development of information system, the main technology in SMS cats and Java mail ponent to achieve the function of text messages and a mass etc. Email group is the ponent implementation with Java mail, it is released from a used to read, write and send Email bag, using it can easily achieve Email group. The development of enterprise information management system by using MVC design pattern and Struts framework. MVC namely for a modelviewcontroller setup, Struts framework in by JavaBean position, and model to realize the program the business logic of the part, mainly by JSP view ActionServlet, RequestProcessor, document constitutes Struts auxiliary class and to achieve the controller. This system mainly through the administrator privileges for management. Mainly includes card holder management, information management, use of text messages, Email group, system parameter setting, system Settings and exit system. For enterprise internal and external liaison and munication provides a platform by providing convenience SMS and services, helping the enterprise to solve the difficult, not promptly municate information dissemination of problems. So as to improve the enterprise operation efficiency and reduces the enterprise operating costs. Key Words Information, Mangement, Card holder, SMS, Mail.. . . ..學(xué)習(xí)好幫手目 錄摘 要 ................................................................................................................................................IAbstract ...........................................................................................................................................II第 1 章 緒論 ...................................................................................................................................1 研究現(xiàn)狀 ..............................................................................................................................1 研究的目的和意義 ...............................................................................................................2 國(guó)內(nèi)外發(fā)展?fàn)顩r ..................................................................................................................2 研究主要內(nèi)容 ......................................................................................................................3第 2 章 總體設(shè)計(jì) ...........................................................................................................................4 系統(tǒng)的體系結(jié)構(gòu) ..................................................................................................................4 系統(tǒng)功能結(jié)構(gòu)圖 ..................................................................................................................4第 3 章 系統(tǒng)設(shè)計(jì) ...........................................................................................................................6 系統(tǒng)目標(biāo) ..............................................................................................................................6 開發(fā)及運(yùn)行環(huán)境 ..................................................................................................................6 數(shù)據(jù)庫— SQL Server 2022 特點(diǎn) ..................................................................................6 集成開發(fā)環(huán)境(IDE)MyEclipse 簡(jiǎn)介 .........................................................................7 Web 開發(fā)平臺(tái)Tomcat 簡(jiǎn)介 ........................................................................................7 數(shù)據(jù)庫設(shè)計(jì) ................................................................................................