在 Liiferay 启动时显示特定页面

发布于 2024-12-22 18:56:27 字数 352 浏览 1 评论 0原文

我正在使用 Liferay 6 。 我已经在 Tomcat Server 中部署了 Liferay Struts Portlet。 我使用了 Service Builder 并修改了 LocalServiceUtil 类和 ServiceImple 类以将数据插入 Database 。它工作正常。

我的问题是,我在这个 portlet 中有一个名为 Login.jsp 的 JSP 页面,请告诉我如何将其作为登陆页面?

我也修改了portal-ext.properties和portal.properties,但仍然不起作用。

如果我们无法将 Portlet 页面作为登陆页面,请告诉我如何显示自定义页面?

预先非常感谢您。

I am using Liferay 6 .
I have deployed a Liferay Struts Portlet inside Tomcat Server .
I have used Service Builder and modified LocalServiceUtil classes and ServiceImple classes to insert data into Database . Its working fine .

My question is , i have a JSP Page in this portlet called as Login.jsp , please tell me how can i make this as landing page ??

I have modified the portal-ext.properties and portal.properties also , but still it is not working .

In case we cannot make a Portlet Page as a Landing Page , please tell me how can we display a Custom page ??

Thank you very much in advance .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月下凄凉 2024-12-29 18:56:27

您可以将此页面设置为您的主页 URL 和默认登陆页面。导航到控制面板 -> 门户 -> 设置部分并更新字段,例如 - 主页 URL - 默认登陆页面 - 注销页面。

在哪里 -
主页 URL - 这是门户的主页。例如,如果您希望主页为 http:// servernamee:8080/web/guest/home,则将其设置为 /web/guest/home。

默认登陆页面 - 这是门户的主页。例如,如果您希望主页为 http:// servernamee:8080/web/guest/home,则将其设置为 /web/guest/home。
默认登陆页面

有帮助吗?

You can setup this page to be your Home URL and Default Landing Page. Navigate to Control Panel->Portal->Settings section and update fields like - Home URL - Default Landing Page - Log out page.

Where -
Home URL - This is the home page of the portal. For example, if you want the home page to be http:// servernamae:8080/web/guest/home, then set this to /web/guest/home.

Default Landing Page - This is the home page of the portal. For example, if you want the home page to be http:// servernamae:8080/web/guest/home, then set this to /web/guest/home.
Default Landing Page

Does that help?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文