
Search In
AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records.
How to use?
1. you need to inject $ht
Implementing code of login and logout in cakephp by using auth component in this process appController needs to be modified so that it uses Cake’s Auth component will work at the time of login and logout. This is where we tell the Auth componen
Suppose we have an object and that object is assigned to two different variables.
Now if we make any changes to one variable the other variable's will automatically change.
For example
Obj_1 = [1,2,3]
obj_2 = obj_1
obj_2 << 4
p Obj_1
p
IComparable interface is used for sorting of list of objects. It can be similar to Array.Sort() method but the difference is that it provides customization on sorting of objects.
We can sort a list of string or integer by simply calling List.Sort()
This is where I'm getting the error. I just want to ask what should I do, to make this code running. I'm building a chatbot using tensorflow. And mostly the error is encountered in the if-else statements. So please have a look at it. And let
INTRODUCTION:
Static import in Java allows to import static members of class and use them, as they are declared in the same class, means access any static member of class directly without using class name. Like regular import statements, static impo
Constant and ReadOnly is the C# keyword and use to hold a value for a life of a Program.
As the Name implies we can not change the value of Constant and ReadOnly type variable.
But there is some difference between them.
Constant :
Constants are decl
Below is the error while run in chrome.
Use this code, it will always work
System.setProperty("webdriver.chrome.driver", YourChromePath);
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
ChromeOptions options = new
FORMAT(X,D[,locale])
In mysql FORMAT function is used for formats a number X to a format like '#,###,###.##' and rounded to decimal places, and it returns the result as a string. If D is 0, the result has no decimal point.
The third optional paramet
If we try to return a JsonOject in jersey, like this
@Path("/formSubmit")
@POST
@Produces("application/json")
public JSONObject formSubmit()
{
JSONObject json1 =new JSONObject();
return json1;
}
it may give an error (org.codehaus.jackson
