springboot 项目运行jsp
2015-11-11 08:59
561 查看
由于项目中引用到了ueditor,需要运行jsp.方法如下:
官方有个sample,地址是:
https://github.com/spring-projects/spring-boot/tree/v1.1.5.RELEASE
里面有个spring-boot\spring-boot-samples\spring-boot-sample-web-jsp
自己跑一下。
如果是原来的工程应该添加tomcat-jsp解析包
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
另外其他标签库自行添加,应该能运行起来
http://bbs.csdn.net/topics/390873340#post-398092508
官方有个sample,地址是:
https://github.com/spring-projects/spring-boot/tree/v1.1.5.RELEASE
里面有个spring-boot\spring-boot-samples\spring-boot-sample-web-jsp
自己跑一下。
如果是原来的工程应该添加tomcat-jsp解析包
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
另外其他标签库自行添加,应该能运行起来
http://bbs.csdn.net/topics/390873340#post-398092508
相关文章推荐
- 深入解析Java中的Classloader的运行机制
- 利用Hbase解决HDFS小文件合并
- 使用Spring框架的好处(转帖)
- myeclipse10.7破解成功 但 无法打war包 securecrt alert:integrity check error 解决方案
- MyEclipse新建工程中的Source Folder
- java集合之TreeSet
- java集合之HashSet
- struts2 hibernate登录
- eclipse jdk adt sdk abtbundle之间的关系
- Struts2中表单与Action传递数据三种方式
- struts2.0获取各种表单的数据
- Struts2中Action访问Servlet API的三种方法
- Struts2的Action和Servlet有什么联系,区别?
- java常量池简单使用
- 实战struts2——用户登录
- struts2下的helloworld(如何让第一个struts2跑起来)——struts2第一讲
- Java file read & write
- Windows平台Java开发环境的搭建
- '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp error
- Struts2中Action接收参数的方法