在 Liiferay 启动时显示特定页面
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将此页面设置为您的主页 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?