
Search In
Delegate is a type which holds the method(s) reference in an object. It is also referred to as a type safe function pointer. Delegates concept will match with function pointer concept of c++ language.
We use delegate keyword when we need to create
We can create service through provider,service,value and factory. In this blog I am describing provider and factory. For value and service you can refer to my previous blog -Calculate area of a circle using .value and .service in angularjsBy creating
Servlet Filter:
Servlet Filter is used to filter the unnecessary requests that is received at the servlet end. It is used to perform tasks such as conversion, logging, compression, encryption and decryption, input validation etc.
It is called befor
Whenever we create a form, we always have a requirement to put validation for empty fields on some input fields on form submit. For this we use onSubmit attribute of the form, inside which we can define a function that will have validations.
Example
Hello Friends,
If you are looking to implement star rating with Ajax. Please find the below example for the same:
1) Open your HTML file and write the code below to display stars:
NOTE :: I have attached the primary key with div-id(tutorial-id; ?&g
Moving from one page to another is called navigation.
There are following techniques to navigate from one page to another:-
Hyperlink control
Response.Redirect
Server.Transfer
Server.Execute
Window.Ope
For doing password Reset and changing password we always have a thing whether to send the same old password or send a random password to the user.
For generating random password to the user we will create a code file that will generate
To check the profanity in the text for multilanguage, here we use WebPurify web service. This web service provide various callable methods including check, checkcount, replace, return etc. But here we are using the replace method (webpurify.live.repl
NVD3 is a very powerful java script library to render web based graphs. It automatically handles the scaling and plotting by itself. We just need to concern the data.
NVD3 just takes data and render the graph.
Data Format : NVD3 expect an array of
Thread pool basically manages the pool of worker thread or it manages the collection of runnable and worker threads execute Runnable from queue.
Here is an example of creating threads 20 times and calling its runnable methods like this :
public cl