留言板

JSP portlet database communication

Gunjan Dineshbhai Sherathia,修改在15 年前。

JSP portlet database communication

Junior Member 帖子: 47 加入日期: 09-2-21 最近的帖子
i have created one JSP portlet. now i want that porlet to communicate with my mysql database.

anyone know how i can do that?
thumbnail
Shivansh Sharma,修改在15 年前。

RE: JSP portlet database communication

New Member 帖子: 16 加入日期: 09-2-9 最近的帖子
Hello Gunjan,
I am assuming that your portal is already configured with one of the my-sql schema.
After that for all CRUD operation you need to use liferay services & its implementation.

Regards,
Shivansh Sharma
Gunjan Sherathia,修改在15 年前。

RE: JSP portlet database communication

Junior Member 帖子: 47 加入日期: 09-2-21 最近的帖子
hello shivansh

thnks for reply...

my portal is not configure with but its configure with hypersonic....i want my portal to conneect with mysql but when i try to change my root.xml file i lost my whole application..

please suggest me what do i do now?
thumbnail
Srikanth Reddy Sanivarapu,修改在15 年前。

RE: JSP portlet database communication

Regular Member 帖子: 203 加入日期: 08-11-15 最近的帖子
Hi Connect back to ur hypersonic and export ur things as LAR and stop server and connect to MySQL and import the same LAR.

I think it will help you.

Thanks & Regards,
Srikanth Reddy.S
Gunjan Sherathia,修改在15 年前。

RE: JSP portlet database communication

Junior Member 帖子: 47 加入日期: 09-2-21 最近的帖子
hi

thnks shrikanth

can u please tell me what is this LAR?
whenever i click on export/import of any portlet i got message like this

"The library portlet does not have any data that can be exported or does not include support for it. "

hope listen from u...
thumbnail
Shivansh Sharma,修改在15 年前。

RE: JSP portlet database communication

New Member 帖子: 16 加入日期: 09-2-9 最近的帖子
Hello Gunjan,
Go through this URL
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Database+Configuration


Regards,

Shivansh Sharma