spring获取IPWord格式.docx

上传人:b****4 文档编号:8185390 上传时间:2023-05-10 格式:DOCX 页数:7 大小:19.65KB
下载 相关 举报
spring获取IPWord格式.docx_第1页
第1页 / 共7页
spring获取IPWord格式.docx_第2页
第2页 / 共7页
spring获取IPWord格式.docx_第3页
第3页 / 共7页
spring获取IPWord格式.docx_第4页
第4页 / 共7页
spring获取IPWord格式.docx_第5页
第5页 / 共7页
spring获取IPWord格式.docx_第6页
第6页 / 共7页
spring获取IPWord格式.docx_第7页
第7页 / 共7页
亲,该文档总共7页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

spring获取IPWord格式.docx

《spring获取IPWord格式.docx》由会员分享,可在线阅读,更多相关《spring获取IPWord格式.docx(7页珍藏版)》请在冰点文库上搜索。

spring获取IPWord格式.docx

spring.main....=#seeclassforallproperties#LOGGINGlogging.path=/var/logslogging.file=myapp.loglogging.config=#locationofconfigfile(defaultclasspath:

logback.xmlforlogback)

logging.level.*=#levelsforloggers,e.g."

logging.level.org.springframework=DEBUG"

(TRACE,DEBUG,INFO,WARN,ERROR,FATAL,OFF)#IDENTITY(ContextIdApplicationContextInitializer)spring.application.name=

spring.application.index=#EMBEDDEDSERVERCONFIGURATION(ServerProperties)server.port=8080server.address=#bindtoaspecificNICserver.session-timeout=#sessiontimeoutinseconds

server.context-parameters.*=#Servletcontextinitparameters,e.g.server.context-parameters.a=alphaserver.context-path=#thecontextpath,defaultsto'

/'

server.servlet-path=#theservletpath,defaultsto'

server.ssl.enabled=true#ifSSLsupportisenabledserver.ssl.client-auth=#wantorneedserver.ssl.key-alias=server.ssl.ciphers=#supportedSSLciphersserver.ssl.key-password=server.ssl.key-store=server.ssl.key-store-password=server.ssl.key-store-provider=server.ssl.key-store-type=server.ssl.protocol=TLS

server.ssl.trust-store=

server.ssl.trust-store-password=server.ssl.trust-store-provider=server.ssl.trust-store-type=server.tomcat.access-log-pattern=#logpatternoftheaccesslogserver.tomcat.access-log-enabled=false#isaccessloggingenabledserver.tomcat.internal-proxies=10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\

192\\.168\\.\\d{1,3}\\.\\d{1,3}|\\

169\\.254\\.\\d{1,3}\\.\\d{1,3}|\\

127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}#regularexpressionmatchingtrustedIPaddressesserver.tomcat.protocol-header=x-forwarded-proto#frontendproxyforwardheaderserver.tomcat.port-header=#frontendproxyportheaderserver.tomcat.remote-ip-header=x-forwarded-forserver.tomcat.basedir=/tmp#basedir(usuallynotneeded,defaultstotmp)server.tomcat.background-processor-delay=30;

#inseconds

server.tomcat.max-http-header-size=#maximumsizeinbytesoftheHTTPmessageheaderserver.tomcat.max-threads=0#numberofthreadsinprotocolhandler

server.tomcat.uri-encoding=UTF-8#characterencodingtouseforURLdecoding#SPRINGMVC(WebMvcProperties)spring.mvc.locale=#setfixedlocale,e.g.en_UKspring.mvc.date-format=#setfixeddateformat,e.g.dd/MM/yyyy

spring.mvc.message-codes-resolver-format=#PREFIX_ERROR_CODE/POSTFIX_ERROR_CODE

spring.mvc.ignore-default-model-on-redirect=true#Ifthethecontentofthe"

default"

modelshouldbeignoredredirectsspring.view.prefix=#MVCviewprefixspring.view.suffix=#...andsuffixspring.resources.cache-period=#cachetimeoutsinheaderssenttobrowser

spring.resources.add-mappings=true#ifdefaultmappingsshouldbeadded#SPRINGHATEOS(HateoasProperties)spring.hateoas.apply-to-primary-object-mapper=true#iftheprimarymappershouldalsobeconfigured#HTTPencoding(HttpEncodingProperties)spring.http.encoding.charset=UTF-8#theencodingofHTTPrequests/responsesspring.http.encoding.enabled=true#enablehttpencodingsupport

spring.http.encoding.force=true#forcetheconfiguredencoding#JACKSON(JacksonProperties)

spring.jackson.date-format=#Dateformatstring(e.g.yyyy-MM-ddHH:

mm:

ss),orafully-qualifieddateformatclassname(e.g.

com.fasterxml.jackson.databind.util.ISO8601DateFormat)

spring.jackson.property-naming-strategy=#OneoftheconstantsonJackson'

sPropertyNamingStrategy(e.g.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES)orthefully-qualifiedclassnameofaPropertyNamingStrategysubclassspring.jackson.deserialization.*=#seeJackson'

sDeserializationFeaturespring.jackson.generator.*=#seeJackson'

sJsonGenerator.Featurespring.jackson.mapper.*=#seeJackson'

sMapperFeaturespring.jackson.parser.*=#seeJackson'

sJsonParser.Feature

spring.jackson.serialization.*=#seeJackson'

sSerializationFeature#THYMELEAF(ThymeleafAutoConfiguration)spring.thymeleaf.check-template-location=truespring.thymeleaf.prefix=classpath:

/templates/

spring.thymeleaf.excluded-view-names=#comma-separatedlistofviewnamesthatshouldbeexcludedfromresolution

spring.thymeleaf.view-names=#comma-separatedlistofviewnamesthatcanberesolvedspring.thymeleaf.suffix=.htmlspring.thymeleaf.mode=HTML5spring.thymeleaf.encoding=UTF-8spring.thymeleaf.content-type=text/html#;

charset=isadded

spring.thymeleaf.cache=true#settofalseforhotrefresh#FREEMARKER(FreeMarkerAutoConfiguration)spring.freemarker.allow-request-override=falsespring.freemarker.cache=truespring.freemarker.check-template-location=truespring.freemarker.charset=UTF-8spring.freemarker.content-type=text/htmlspring.freemarker.expose-request-attributes=falsespring.freemarker.expose-session-attributes=falsespring.freemarker.expose-spring-macro-helpers=falsespring.freemarker.prefix=spring.freemarker.request-context-attribute=spring.freemarker.settings.*=spring.freemarker.suffix=.ftlspring.freemarker.template-loader-path=classpath:

/templates/#comma-separatedlistspring.freemarker.view-names=#whitelistofviewnamesthatcanberesolved#GROOVYTEMPLATES(GroovyTemplateAutoConfiguration)spring.groovy.template.cache=truespring.groovy.template.charset=UTF-8

spring.groovy.template.configuration.*=#SeeGroovy'

sTemplateConfiguration

spring.groovy.template.content-type=text/htmlspring.groovy.template.prefix=classpath:

/templates/spring.groovy.template.suffix=.tpl

spring.groovy.template.view-names=#whitelistofviewnamesthatcanberesolved#VELOCITYTEMPLATES(VelocityAutoConfiguration)spring.velocity.allow-request-override=falsespring.velocity.cache=truespring.velocity.check-template-location=truespring.velocity.charset=UTF-8spring.velocity.content-type=text/htmlspring.velocity.date-tool-attribute=spring.velocity.expose-request-attributes=falsespring.velocity.expose-session-attributes=falsespring.velocity.expose-spring-macro-helpers=falsespring.velocity.number-tool-attribute=

spring.velocity.prefer-file-system-access=true#preferfilesystemaccessfortemplateloadingspring.velocity.prefix=spring.velocity.properties.*=spring.velocity.request-context-attribute=spring.velocity.resource-loader-path=classpath:

/templates/spring.velocity.suffix=.vm

spring.velocity.toolbox-config-location=#velocityToolboxconfiglocation,forexample"

/WEB-INF/toolbox.xml"

spring.velocity.view-names=#whitelistofviewnamesthatcanberesolved#JERSEY(JerseyProperties)spring.jersey.type=servlet#servletorfilterspring.jersey.init=#initparams

spring.jersey.filter.order=#INTERNATIONALIZATION(MessageSourceAutoConfiguration)spring.messages.basename=messagesspring.messages.cache-seconds=-1

spring.messages.encoding=UTF-8

#SECURITY(SecurityProperties)security.user.name=user#loginusernamesecurity.user.password=#loginpasswordsecurity.user.role=USER#roleassignedtotheusersecurity.require-ssl=false#advancedsettings...

security.enable-csrf=false

security.basic.enabled=truesecurity.basic.realm=Springsecurity.basic.path=#/**security.filter-order=0security.headers.xss=falsesecurity.headers.cache=falsesecurity.headers.frame=falsesecurity.headers.content-type=falsesecurity.headers.hsts=all#none/domain/allsecurity.sessions=stateless#always/never/if_required/stateless

security.ignored=false#DATASOURCE(DataSourceAutoConfiguration&

DataSourceProperties)spring.datasource.name=#nameofthedatasourcespring.datasource.initialize=true#populateusingdata.sqlspring.datasource.schema=#aschema(DDL)scriptresourcereferencespring.datasource.data=#adata(DML)scriptresourcereferencespring.datasource.sql-script-encoding=#acharsetforreadingSQLscripts

spring.datasource.platform=#theplatformtouseintheschemaresource(schema-${platform}.sql)spring.datasource.continue-on-error=false#continueevenifcan'

tbeinitializedspring.datasource.separator=;

#statementseparatorinSQLinitializationscriptsspring.datasource.driver-class-name=#JDBCSettings...spring.datasource.url=spring.datasource.username=spring.datasource.password=

spring.datasource.jndi-name=#ForJNDIlookup(class,url,username&

passwordareignoredwhenset)spring.datasource.max-active=100#Advancedconfiguration...spring.datasource.max-idle=8spring.datasource.min-idle=8spring.datasource.initial-size=10spring.datasource.validation-query=spring.datasource.test-on-borrow=falsespring.datasource.test-on-return=falsespring.datasource.test-while-idle=spring.datasource.time-between-eviction-runs-millis=spring.datasource.min-evictable-idle-time-millis=spring.datasource.max-wait=

spring.datasource.jmx-enabled=false#ExportJMXMBeans(ifsupported)#DATASOURCE(PersistenceExceptionTranslationAutoConfiguration

spring.dao.exceptiontranslation.enabled=true

篇二:

java-SpringMVC

复习:

1)MVC模型

View:

负责展示处理结果JSP/HTML/FreeMarker/Velocity

Controller:

负责接收请求、验证、调用ModelServlet/Filter/POJO

Model:

负责业务功能(数据库、IO、Other)JavaBean

常见的MVC模型:

SpringMVCStruts1Sturts2ThinkPHP

2)SpringMVC

SpringMVC是一个带前端控制器的MVC模型,主要关注的是Controller(FrontController+RequestHandler),对View有部分涉及(提供了几个标签),并没有涉及到Model。

SpringMVC的处理流程:

(1)服务器一启动,SpringMVC创建BeanFactory,创建所有Bean对象

(2)客户端发起请求,被前端控制器拦截并解析

(3)Spring做URL-Handler映射,调用Hanlder

(4)Handler调用接收请求、验证、调用业务逻辑,返回viewName

(5)Spring查找ViewResolver,装配出一个可以请求转发的完整页面名

(6)Vie

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 工程科技

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2