Structure: 1.Take a scenario that I want to display image in web content portlet dynamically, when I want display image I need image u...
How to change mysql database password in ubuntu?
1.Login as root sudheer@VY-B3:~$ mysql -u root -p Enter password:vidyayug 2.select the database: mysql> use mysql; Query OK, ...
Some useful commands in Ubuntu
How to take mysql database backup? mysqldump -u root -p --routines database_name> backup_name.sql How to import DB? mysql -u root...
Hiding Image Gallery Properties in Liferay6.06
Drop the image gallery portlet in the page and then go to look and feel of the portlet configuration and then add the below code in the e...
Creating ActionURL and RenderURL
Render URL Creation : To navigate from one page to another page in liferay we use render URL. 1.Create the render url: 2.Specif...
Creating Layouts in liferay
1.Go to File → New → Liferay Plugin Project. 2.Enterthe Project name and Display name. 3.Choose whichever build type you prefer ...
Basic Authentication Example in Servlets
In Basic authentication, if you try to send a request, a popup window appears and you enter a particular username/password, which gets sen...