-
大小: 2.89MB文件类型: .zip金币: 2下载: 0 次发布日期: 2023-10-02
- 语言: Java
- 标签: springboot web
资源简介
使用springboot、jpa、jsp 实现的web登录功能。包含jap使用以及技巧、springboot中怎么集成JSP, jsp中传参数等。
代码片段和文件信息
package com.luowei;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
//@Controller
//@SpringBootApplication
@ComponentScan(basePackages={“com.luowei“})
//@EnableAutoConfiguration //禁用自动配置,否则会注入不到其他controller
@Configuration
@EnableAutoConfiguration
public class App extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(App.class);
}
public static void main(String[] args) {
SpringApplication.run(App.class args);
}
// @RequestMapping(“/“)
// public String index() {
// return “index“;
// }
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-09-15 09:44 springBoot\
文件 1329 2017-09-05 15:39 springBoot\.classpath
文件 1399 2017-09-05 15:39 springBoot\.project
目录 0 2017-09-04 19:38 springBoot\.settings\
文件 626 2017-09-04 19:36 springBoot\.settings\.jsdtscope
文件 201 2017-09-04 19:56 springBoot\.settings\org.eclipse.core.resources.prefs
文件 422 2017-09-04 19:44 springBoot\.settings\org.eclipse.jdt.core.prefs
文件 86 2017-09-04 19:36 springBoot\.settings\org.eclipse.m2e.core.prefs
文件 746 2017-09-04 19:42 springBoot\.settings\org.eclipse.wst.common.component
文件 245 2017-09-04 19:44 springBoot\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2017-09-04 19:36 springBoot\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2017-09-04 19:36 springBoot\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 48 2017-09-04 19:36 springBoot\.settings\org.eclipse.wst.validation.prefs
文件 2925 2017-09-05 15:40 springBoot\pom.xm
目录 0 2017-09-15 14:30 springBoot\sql\
文件 2649 2017-09-15 14:30 springBoot\sql\luowei.sql
目录 0 2017-09-04 19:36 springBoot\src\
目录 0 2017-09-04 19:42 springBoot\src\main\
目录 0 2017-09-04 19:48 springBoot\src\main\java\
目录 0 2017-09-04 19:48 springBoot\src\main\java\com\
目录 0 2017-09-05 09:47 springBoot\src\main\java\com\luowei\
文件 1254 2017-09-04 19:51 springBoot\src\main\java\com\luowei\App.java
目录 0 2017-09-05 09:47 springBoot\src\main\java\com\luowei\ba
文件 653 2017-09-05 09:47 springBoot\src\main\java\com\luowei\ba
文件 739 2017-09-05 09:47 springBoot\src\main\java\com\luowei\ba
目录 0 2017-09-05 09:47 springBoot\src\main\java\com\luowei\contant\
文件 369 2017-09-05 09:47 springBoot\src\main\java\com\luowei\contant\ResultCodeContant.java
目录 0 2017-09-05 09:47 springBoot\src\main\java\com\luowei\controller\
文件 701 2017-09-05 09:47 springBoot\src\main\java\com\luowei\controller\AccountController.java
文件 1764 2017-09-05 16:08 springBoot\src\main\java\com\luowei\controller\LoginController.java
文件 359 2017-09-04 19:50 springBoot\src\main\java\com\luowei\controller\TestController.java
............此处省略398个文件信息
- 上一篇:通过Java代码方式发送邮件
- 下一篇:java 语言程序设计 第十版 复习题答案
相关资源
- 美食天下项目Android版源码和Web版源码
- java web网络通讯录
- commons-codec-1.3.jar和commons-httpclient-3.0
- java web学生管理系统(源码+数据库+截
- JavaWeb停车场管理系统(源代码,数据
- Java Web实现的易买网系统网站(源码
- springboot商城系统
- 安装libwebkitgtk提示没有可用的软件包
- 基于springboot和vue 前后端分离后台管理
- 基于JAVAweb的教务排课系统
- springboot2.0+spring cloud+eureka(分布式项
- 锐聘学院QST青软JavaWeb十二个打包
- javaweb网上购物系统源码(附数据库脚
- javaweb校园宿舍系统(附数据库脚本)
- JavaWeb书城项目(附数据库脚本)
- Vue + SpringBoot + MyBatis 音乐网站(源码
- websockets实现tomcat日志在线输出
- jsp讲解
- 基于SSH框架的JavaWeb项目—人员信息管
- javaweb实现的邮件收发系统(附数据库
- 一款Java的MySqlWeb管理工具
- websocket推送(兼容低版本的IE浏览器)
- java web知识点总结思维导图
- springBoot项目的代码生成器
- Java SpringBoot 支付宝和微信支付整合
- java web项目案例——知识管理软
- 博客系统笔记以及源码
- 李兴华JavaWeb培训经典笔记
- javaweb程序源码
- 网上商城后台管理系统Oracle+Java web
川公网安备 51152502000135号
评论
共有 条评论