logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

java poi设置Excel单元格颜色

CellStyle cellStyle = wb.createCellStyle();cellStyle.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);  //填充单元格cellStyle.setFillForegroundColor(HSSFColor.RED.index);    //填红色r.getCell(1).setCellSt

#java
基于camel的http接口开发

1、spring-camel.xml<camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"><restConfiguration bindingMode="auto" component="restlet" port="8080" /><!--...

springboot集成camel、kafka

1、application.yml 中配置kafka参数kafka:constant: kafka:airport?brokers=127.0.0.1:9092consumer: kafka:airport?brokers=127.0.0.1:90922、from路由from(rabbitmqConstant).to(kafkaConstant);from(kafkaConsumer).log("

spring自触发定时任务

自触发定时任务,主要在spring容器里面配置组件,调度工厂、触发器、任务等等,下面以web应用常见的日志清理为例1、设置触发任务2、设置触发器3、设置调度工厂触发任务的targetObject,对应后台执行代码类,Method对应执行方法@Componen

#java
struts restful风格http接口

新需求告一段落,总结一下前阶段问题。在这之前不得不吐槽一下,明明之前说好的远程接口服务用dubbo+zookeeper,都tm写完了又说不用了,换http接口,换就换吧还什么restful,记得上次接触restful还是n年前在的mvc下面用过,现在乍一听在struts下面用这个,差点愁坏了某些人,因为组里没一个人用过,无奈花了大半天各种论坛各种逛,但是这方面的资料寥寥无几,而且各个帖子的最终来源

#struts
到底了