Attached database SQLServer2008
(1) Copy the two files in the DataBase folder to the Data folder under the SQLServer2008 installation path.
(2) Open the "Enterprise Manager" in SQL Server 2008, then expand the local server, right-click the "Database" data item, and select the "All Tasks"/"Attach Database" menu item in the pop-up shortcut menu.
(3) The "Attach Database" dialog box will pop up. Click the "" button in the dialog box, select the .mdf file of the database to be attached, and click the "OK" button to complete the database attachment operation.
Publish the program to Tomcat (1) Copy the 01 folder to the webapps folder under the Tomcat installation path.
(2) Copy jspSmartUpload.jar, jstl.jar, standard.jar and SQLServer2008 database driver package (mssqlserver.jar, msutil.jar, msbase.jar) to the webapps 1WEB-INFlib file in the Tomcat installation path Clamped.
(3) Select the "All ProgramsApacheTomcat7.0MonitorTomcat" command in the start menu. At this time, an icon identifying the startup status of the Tomcat server will be displayed in the Windows system tray. If it is displayed, it means that the Tomcat server has not started. This You can right-click the icon and select the "StartService" menu item in the pop-up shortcut menu to start the Tomcat server. After starting, it will be displayed as.
(4) Open the IE browser, enter http://localhost:8080/ in the address bar, and enter the "Tomcat Software Management" page.
Note: 8080 is the port number set when installing Tomcat.
(5) Click the TomcatManager hyperlink to pop up the "Connect to localhost" dialog box.
(6) Enter the user name and password to log in to Tomcat in the user name and password fields, and click the [OK] button.
(7) Enter the "Tomcat Application Management" page, click "01" on this page, enter the main page of the program, and complete the Tomcat configuration.