Foren

Liferay 7 with Struts

Revathi Vadlamudi, geändert vor 7 Jahren.

Liferay 7 with Struts

Junior Member Beiträge: 82 Beitrittsdatum: 14.11.14 Neueste Beiträge
How can I give struts and tiles path in liferay 7. In the docs I have searched I didn't find any struts or tiles path where I have created module as MVC.

Any suggestions please..
thumbnail
Gregory Amerson, geändert vor 7 Jahren.

RE: Liferay 7 with Struts

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
What are you trying to accomplish? Are you trying to hook portal struts actions like from 6.x? Or are you trying to use struts in a new portlet?
Revathi Vadlamudi, geändert vor 7 Jahren.

RE: Liferay 7 with Struts

Junior Member Beiträge: 82 Beitrittsdatum: 14.11.14 Neueste Beiträge
I want to use struts in Liferay 7 when developing a module. Can I do that ? If yes, can you please tell me what type of module I need to choose..
thumbnail
Gregory Amerson, geändert vor 7 Jahren.

RE: Liferay 7 with Struts (Antwort)

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
If you want to use a web application framework such as Struts, (may I suggest our very own Liferay Faces) or SpringMVC, all of these will require you use a "WAR" to package and deploy to liferay. YOu can do with with gradle very easilly using Liferay Workspace and just add a folder called 'wars' and then put your project under that.

We currently don't have templates for this, but the Liferay Faces team does have templates for their framework. That may get you going quicker.
Revathi Vadlamudi, geändert vor 7 Jahren.

RE: Liferay 7 with Struts

Junior Member Beiträge: 82 Beitrittsdatum: 14.11.14 Neueste Beiträge
Thanks Amerson, for taking time and helping me to figure out the solution..
thumbnail
Gregory Amerson, geändert vor 7 Jahren.

RE: Liferay 7 with Struts (Antwort)

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
If you are building a complex web application, one that would require struts, then may I strongly suggest you use Liferay Faces. Our Liferay Faces team is very responsive in their forums, they will most certainly ensure you get your app working on DXP using Liferay Faces. There website for their forums is here: https://web.liferay.com/community/forums/-/message_boards/category/13289027
Revathi Vadlamudi, geändert vor 7 Jahren.

RE: Liferay 7 with Struts

Junior Member Beiträge: 82 Beitrittsdatum: 14.11.14 Neueste Beiträge
Thanks for your suggestion Gregory..