码迷,mamicode.com
首页 >  
搜索关键字:mvc servlet jsp    ( 48812个结果
Spring Mvc篇之全局异常处理
一、全局异常处理之注解方式 主要用到的注解有2个 @ControllerAdvice 用在Controller类级别上,可看做是一个增强的Controller @ExceptionHandler 用到Controller中具体的方法上,表明这个方法处理的具体某个异常类型 我们一般在捕获到异常的时候, ...
分类:编程语言   时间:2021-04-14 12:09:04    阅读次数:0
JSP原理剖析
一 什么是JSP? JSP全称:javaserver pages java服务器页面。 作用:响应客户端发送的请求,动态生成页面并返回给客户端。 最大的特点: 1)写JSP就像在写HTML 2)区别: HTML只给用户提供静态数据 JSP以页面中可以嵌入java代码,为用户提供动态数据 二 JSP原 ...
分类:Web程序   时间:2021-04-13 12:53:46    阅读次数:0
ZXing
GitHub地址,猛戳:https://github.com/zxing/zxing API文档,猛戳:https://zxing.github.io/zxing/apidocs/index.html 介绍文档,猛戳:https://zxing.github.io/zxing/ https://ww ...
分类:其他好文   时间:2021-04-13 12:22:51    阅读次数:0
jsp.6
<%@ page contentType="text/html;charset=UTF-8" language="java"%> <html> <head> <title>登陆界面</title> <link rel="stylesheet" href="./layui/css/layui.css" ...
分类:Web程序   时间:2021-04-13 12:20:28    阅读次数:0
[Swagger]Unable to resolve service for type 'Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupCollectionProvider' while attempting to activate
详细错误如下 System.AggregateException:“Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Swashbuckl ...
分类:Windows程序   时间:2021-04-13 12:19:16    阅读次数:0
Android Studio: 记录一个android studio profiler 崩溃的问题
环境 Android Studio 4.1.3华为Mate9 (Android 9) 崩溃堆栈 2020-08-14 10:27:28.844 13108-13108/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** ...
分类:移动开发   时间:2021-04-13 11:55:18    阅读次数:0
100_监听器 Listener
https://www.bilibili.com/video/BV12J411M7Sj 监听器开发步骤 实现监听器接口,重写方法 package com.qing.listener; import javax.servlet.ServletContext; import javax.servlet. ...
分类:其他好文   时间:2021-04-13 11:54:43    阅读次数:0
@RequestParam 出现的数据丢失
问题复现 在 Sping MVC 中我们经常使用 @RequestParam 注解来获取请求传入的参数。 正常情况下可以正常使用不会产生问题,当传入的参数过大时就会出现参数不全的情况。 下有一段控制器代码如下: @RestController public class ApiController{ ...
分类:其他好文   时间:2021-04-12 11:52:58    阅读次数:0
google hacking
1,google基本语法 google中不分大小写,通配符 * 表示一个单词或字符, 使用双引号包含强制搜索, + - | inurl:搜索包含特定字符的URL。 inurl:admin.jsp intext:网站正文包含指定字符串 intext:安全测试 site:显示某个域名的所有页面 site ...
分类:其他好文   时间:2021-04-10 13:23:04    阅读次数:0
解决jsp文件中文乱码问题
问题: jsp文件中文乱码问题 如图: 方法: 在jsp文件开头添加以下说明即可。 <%@ page contentType="text/html;charset=UTF-8" language="java" %> ...
分类:Web程序   时间:2021-04-10 13:10:12    阅读次数:0
48812条   上一页 1 ... 12 13 14 15 16 ... 4882 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!