How To get list of all system defined properties in java

| By Webner

Just write below line in your main java program and it will show you all System defined properties. System.out.println(System.getProperties()); Some of the important properties that we can use generally: 1. user.dir will give project root directory location. 2. java.class.path will

Mysql | How to drop table having dot (.) in the table name in MySQL

| By Webner

We had a table in our database having dot in the table name as below: Table name – kpc.product_categories On trying to delete kpc.product_categories using below command: drop table kpc.product_categories It used to give error that no such table exists.

Cakephp | URL routing using prefix before domain name

| By Webner

Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL. Default routing is like this: domain/controller/action Ex. www.xyz.com/user/login Prefix routing will add

Call third party JSON webservice in cakephp 3.0

| By Webner

To call third-party web service in CakePHP 3.0. You can use Http client available in CakePHP core lib (CakeNetworkHttpClient). Include CakeNetworkHttpClient in your controller. use CakeNetworkHttpClient; Here is the method to call third-party web service. You can use this method

Cakephp | URL routing using prefix after domain name

| By Webner

Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL. Default routing is like this: domain/controller/action Ex. www.xyz.com/user/login Prefix routing will add