如何将我们的WebApp部署到Liferay中 [英] How Deploy Our WebApp into Liferay

查看:120
本文介绍了如何将我们的WebApp部署到Liferay中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Liferay的新手,我有一个web应用程序(使用Struts/Spring/Hibernate构建).

I am new to Liferay, I have a webapp (built with Struts/Spring/Hibernate).

我的问题是如何将此WebApp部署到Liferay 6.2环境中.这可能吗?

My question is how to deploy this WebApp into Liferay 6.2 Environment. Is this possible?

推荐答案

如果要将其作为liferay Portlet运行-首先,您必须将Web应用程序转换为Portlet应用程序.这意味着至少要创建一些其他配置文件(liferay-display.xml,liferay-portlet.xml等).不难,但最好先阅读一些文档.

If you want to run it as a liferay portlet - first of all you have to convert your web application into a portlet application. Which means at least creating a few additional configuration files (liferay-display.xml, liferay-portlet.xml, etc). Not difficult but best to read some docs first.

如果只想将它与liferay一起运行,只需将WAR放到/liferay/tomcat/webapps文件夹中,它将被部署.它不会是Portlet,但仍将作为Web应用程序运行.

If you want to simply run it along with your liferay, just put your WAR to /liferay/tomcat/webapps folder and it will get deployed. It won't be a portlet but will still run as a web-app.

这篇关于如何将我们的WebApp部署到Liferay中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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