<style type="text/css"> #header{ width:100%; width: 100%; text-align: center; background-color: rgb(111, 144, 250); m...
how to highlight the menu item page default?
this is the simple program to highlight the default page using css: <!doctype html> <html lang="en"> <head>...
how to highlight the menu using add/remove class in JQuer example program?
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>addClass d...
How to create friendly url in liferay?
In liferay-portlet.xml we have to add the following 3 elements. 1. Mapper class 2. Mapping url 3. Route xml file In all cases ,...
How to use JFree charts in java?
How to use JFree chart in java? Add the following jar files in class path: jcommon -1.0.16.jar, jfreechart -1.0.20.jar import ...
How to display web content in custom portlet?
In view.jsp: <%@ page import = "com.liferay.portal.kernel.language.LanguageUtil" %> <%@ taglib uri = "htt...
How to read xml file in java?
How to Read Xml File In java: import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; import o...