Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jsp link database source code

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

My JSP 'index.jsp' starting page

This is my JSP page.

Registration page code:

My JSP 'login.jsp' starting page

User name:

Password:

Link database code:

0) {

Flag=true

}

} catch (Exception e) {

} finally {

Try {

Conn.close (); / / all operations will be closed as soon as the connection is closed

} catch (Exception e) {}

}

% >

My JSP 'register.jsp' starting page

Register

User name

Password

Contact person

Company name

Company phone number

QQ

Register

You already have an account, please log in

Login failure code:

My JSP 'error.jsp' starting page

${sessionScope.error} failed

Login success code:

My JSP 'success.jsp' starting page

${sessionScope.success} succeeded!

Database tables:

Source Server: localhost_3306

Source Server Version: 50528

Source Host: localhost:3306

Source Database: bbs

Target Server Type: MYSQL

Target Server Version: 50528

File Encoding: 65001

Date: 2016-06-04 09:25:01

, /

SET FOREIGN_KEY_CHECKS=0

-- Table structure for tb_user

DROP TABLE IF EXISTS `tb_ user`

CREATE TABLE `tb_ user` (

`id`int (11) NOT NULL AUTO_INCREMENT

`username` varchar (255) NOT NULL

`password` varchar (255) NOT NULL

`linkman` varchar (255) DEFAULT NULL

`company` varchar (255) DEFAULT NULL

`companytel` varchar (255) DEFAULT NULL

`qq` varchar (255) DEFAULT NULL

PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8

-- Records of tb_user

INSERT INTO `tb_ user` VALUES ('1th,' admin', 'admin', null, null)

INSERT INTO `tb_ user` VALUES ('2fang,' user', 'user', null, null)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report