jsp实现的个人网页空间网页web项目,含登录、注册、发布/删除文章、个人信息管理等功能

您所在的位置:网站首页 网页个人中心设计 jsp实现的个人网页空间网页web项目,含登录、注册、发布/删除文章、个人信息管理等功能

jsp实现的个人网页空间网页web项目,含登录、注册、发布/删除文章、个人信息管理等功能

2024-07-04 15:27| 来源: 网络整理| 查看: 265

咳咳,最近朋友找到我帮他做一个网站web项目的作业,发来了如下功能模块,因为是作业嘛,我也还是个学生,就比较茅草(马虎)的做了一下,不想去用那些对于我来说较繁琐的dao,servlet啥的,于是就只用jsp实现与数据库的连接就行,也不考虑任何程序的优化程度啥的,能跑就行哈哈哈,在网上copy了 一些网站样式啥的,具体如下:

一、

开发工具:myeclipse,mysql,tomcat;开发语言:jsp,html(css),JavaScript;java(操作数据库部分);项目源代码下载地址:https://download.csdn.net/download/weixin_44324669/12322069

二、

部署开发环境:具体可以看我前面发的MyEclipse+MySQL制作简单的登录注册系统详细步骤、代码、注释(一)(二),这两篇博文中讲的比较清楚,这里就不一一解释了

三、

项目内容:在这里插入图片描述实现效果: 在这里插入图片描述在这里插入图片描述 在这里插入图片描述在这里插入图片描述

部分主要代码:

//main.jsp 实训项目 function check(){ alert("请先登录,登录后才可评论");} function chakan(){ alert("请先登录,登录后才可查看");} 登录/注册 17020组实训项目 咿呀咿呀没有哟 个人首页 精彩图片 劲爆视频 文章精选 团队简介 文章 - 0; 评论 - 0 2020年4月2日 你好,我是雷军 摘要:雷军谈过小米手机的初心。“我在初期做小米的时候提到,零广告预算,也几乎是零渠道预算,成本定价,生产材料多少钱就定多少钱,这就是为什么我做硬件研发还必须要做零售... 阅读全文 posted @ 2020-4-2 15:47已阅读 (6132) 评论 (0) 更多文章>>>> //login.jsp 登录案例 body{ background-color:pink;} 登录//注册 用户名 密码 ;; 登录 ;; ;; ;;; 注册;;;;;;;;;;; 游客 function checkForm() { var name = loginForm.name.value; var password = loginForm.password.value; //alert(name + password); if (name == "" || name == null) { alert("请输入用户名"); loginForm.name.focus();//光标位置 return false; } else if (password == "" || password== null) { alert("请输入密码"); loginForm.password.focus(); return false; } return true; } //check-login.jsp //check-register.jsp //register.jsp 注册 body,html{ margin: 0; padding: 0; border: 0; font-family: 'Nunito', sans-serif; background-color:pink; } canvas{ margin: 0; padding: 0; display: block; touch-action: none; } 注册 用户名 密码 确认密码 确定注册;;;;;;;;;;;;;;;; 重填 ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; var canvas = document.querySelector('canvas'); canvas.height = window.innerHeight; canvas.width = window.innerWidth; c = canvas.getContext('2d'); window.addEventListener('resize', function(){ canvas.height = window.innerHeight; canvas.width = window.innerWidth; initCanvas(); }) var mouse = { x: undefined, y: undefined } window.addEventListener('mousemove', function (event) { mouse.x = event.x; mouse.y = event.y; drawCircles(); } ) window.addEventListener("touchmove", function (event) { let touch = event.touches[0]; mouse.x = touch.clientX; mouse.y = touch.clientY; drawCircles(); } ) function Circle(x, y, radius, vx, vy, rgb, opacity, birth, life){ this.x = x; this.y = y; this.radius = radius; this.minRadius = radius; this.vx = vx; this.vy = vy; this.birth = birth; this.life = life; this.opacity = opacity; this.draw = function() { c.beginPath(); c.arc(this.x, this.y, this.radius, Math.PI * 2, false); c.fillStyle = 'rgba(' + rgb +','+ this.opacity +')'; c.fill(); } this.update = function(){ if (this.x + this.radius > innerWidth || this.x - this.radius innerHeight || this.y - this.radius this.birth + this.life){ for (i == 0; i


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3