Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Gunjan Sherathia
JSP portlet database communication
February 20, 2009 11:06 PM
Answer

Gunjan Sherathia

Rank: Junior Member

Posts: 48

Join Date: February 20, 2009

Recent Posts

i have created one JSP portlet. now i want that porlet to communicate with my mysql database.

anyone know how i can do that?
Shivansh Sharma
RE: JSP portlet database communication
February 22, 2009 11:34 PM
Answer

Shivansh Sharma

Rank: New Member

Posts: 16

Join Date: February 8, 2009

Recent Posts

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
RE: JSP portlet database communication
February 23, 2009 1:10 AM
Answer

Gunjan Sherathia

Rank: Junior Member

Posts: 48

Join Date: February 20, 2009

Recent Posts

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?
Srikanth Reddy Sanivarapu
RE: JSP portlet database communication
February 23, 2009 2:02 AM
Answer

Srikanth Reddy Sanivarapu

Rank: Regular Member

Posts: 193

Join Date: November 14, 2008

Recent Posts

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
RE: JSP portlet database communication
February 23, 2009 4:23 AM
Answer

Gunjan Sherathia

Rank: Junior Member

Posts: 48

Join Date: February 20, 2009

Recent Posts

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...
Shivansh Sharma
RE: JSP portlet database communication
February 23, 2009 9:30 PM
Answer

Shivansh Sharma

Rank: New Member

Posts: 16

Join Date: February 8, 2009

Recent Posts

Hello Gunjan,
Go through this URL
1http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Database+Configuration


Regards,

Shivansh Sharma