在Java Play上运行JSP [英] Run JSP on Java Play

查看:143
本文介绍了在Java Play上运行JSP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用 Java Play框架,我有几个问题......

I have just started using the Java Play framework, and I have a few questions...

我开发了一个Web应用程序,它使用 Maven 3.0 进行管理,托管在 Tomcat 7.0 上,并包含一个完整的一堆 JSP 文件。
我们的团队最近决定使用Play框架运行所有内容,我只是想知道是否有一种快速方法将我的原始项目导入Play?另外,Play如何识别JSP文件?把它们放在哪里?

I've developed a web application, which was managed using Maven 3.0, hosted on Tomcat 7.0, and containing a whole bunch of JSP files. Our team recently decided to run everything using the Play framework, and I'm just wonder if there is a fast way to import my original project into Play? also, how does play recognise JSP files? where to put them?

谢谢

推荐答案

不幸的是,播放框架视图模板使用groovy (1.x)或scala(2.x)来呈现数据。因此,无法在新系统中使用或替换旧的jsp文件。您必须将旧的批量jsp文件转换为新视图

Unfortunately, play framework view template uses groovy (1.x) or scala (2.x) to render the data. Therefore, there is no way to use or replace the old jsp files in your new system. You have to convert the old bulk jsp files into the new views

这篇关于在Java Play上运行JSP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆