• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to store data in mysql using portlets

 
ganesh boil
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi team,
I'm looking for an sample portlet application (Simple JSPs ) which store the data in database.
I don't know how to call a method(form submission) in jsp of a portlet.
So can anyone give me sample code to store the data in database.

Thanks and Regards,
Ganesh
 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I had written the following article which also contains source code of how data is saved in mysql database:
Liferay-Spring Portlet MVC-DWR

Hope this helps.

Ashish Sarin
SCJA, SCJP, SCJD, SCWCD, SCEA, SCBCD, IBM-XML, IBM-DB2
Author: Portlets in Action
 
rino laragione
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ganesh boil wrote:Hi team,
I'm looking for an sample portlet application (Simple JSPs ) which store the data in database.
I don't know how to call a method(form submission) in jsp of a portlet.
So can anyone give me sample code to store the data in database.

Thanks and Regards,
Ganesh


If you need a way to store retrieve informations on a db you can give a look at datawarestudio.com
it seems fitting your needs
RLR
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!