Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to authenticate MD5 password encyption in spring security 4

Whenever we deal with password in an application, we go for some encryption. In spring the password it authenticated within the configuration. Here is the sample code where we have already saved the password in encrypted form and now during lo...

How to make a redirect html page using jQuery

Redirecting a web page will occur in the header part of the page. In JQuery the page redirect have a code and it will go like this below // similar behavior as clicking on a link window.location.href = "http://findnerd.com"; As soon thi...

Methods to recover or reset admin password in Joomla 2.5 and higher versions.

In joomla you can change the password from back-end normally. For this you need to login to your back-end and go to Users -> User Manager. A list of users appear. Click the name of the admin and an edit form will appear. Now from here you can ...

Undefined Vs Null in Java Script

Undefined Vs Null in JavaScript Undefined means a variable has been declared but not assign any value. While null is an assignment value. It can be assigned to a variable that represent no value. For Example: var x; alert(typeof(x));...

ServletRequest Interface with example

The ServletRequest interface have many methods to handle client requests to access a servlet. It is used for access client requests in servlet. HttpServletRequest extends to ServletRequest. Below example will help you to batter understan...

Javascript The setFullYear() Method

In Javascript , setFullYear ( ) method set the full year for a for a given date based on local time . It return a new timestamp . Syntax -> setFullYear( yearValue , monthValue , dayValue ) <br> Parameter -> yearValue -> I...

Stress Testing

What Is Stress Testing? Stress testing is also a kind of performance testing.This testing also comes under the non functional testing. Stress testing is applied to determine the performance of a system or component at or beyond the limits of i...

What is Servlet

Servlet is a part of java technology which used for to create web application. Servlet technology is used at server side and generates dynamic web page. Servlet make robust and scaleable to web application of java language. Before Servlet, We...

MVC Action Results

MVC Action Results:- ActionResult is a return type of a controller method,it's also called an action method. In MVC by default the controller actions will return the ActionResult Object. You can return various types of...

Object Cloning in Java

Whenever we want to create an exact copy of an object, object cloning is used. So, clone() method of Object class is used to clone an object. The java.lang.Cloneable interface must be implemented by the class to create object clone. And If we d...

How to make ListView in Android studio ?

Here I have create a ListView app in android. In the Listview numbers of items shown in vertical scrollable list. In Listview items are automatically inserted to the list and In ListView Adapter pulls content and image from a source database cla...

Javascript The getFullYear() Method

Basically in Javascript getFullYear( ) method is used to return the full year based on the local time .Use this method instead of getYear( ) method . Syntax -> year.getFullYear(); // None parameter Return -> It return an absolute...

Final and Static Keywords in Java

Final and Static Keywords in Java The Keyword Final is used for declaring a class member as constant. The member declared as final cannot be overridden.To prevent a class from being inherited the Keyword Final is used. Initialization of a fina...

Javascript The getTime() Method

In Javascript , getTime() method return the numeric value ( in milliseconds ) corresponding to the time for the specified data according to universal time . Through this method you can assign a date and time to another Date Object. Basically thi...

Load Testing

What is load testing ? This is the simplest type of performance testing. The load testing comes under the non functional testing. A load test is commonly acted to understand the behavior of the software or application under a particular prospe...

The valueOf() Method

In Javascript ,valueOf() method is used to wrapped the primitive value of a String object .And this method is automatically call by javascript (from backend ). Syntax : stringobj.valuOf( ) // There is no parameter . In Javascript , this...

stdClass in PHP

"stdClass" is an void class of PHP. It can be as a act of the alternative of a associative array but works only on PHP 5 and more Any associative array. You thought it of a object as same in java or python. $info = array("question" => "sc...

JavaScript Object Properties

Properties are defined as the values that are associated with a JavaScript object.It is also called the very important part of Javascript. A JavaScript object is made up of a collection of un-ordered properties.It can be changes, added, deleted....

Javascript operator precedence

In Javascript , operator precedence is followed when we perform operators to evaluate mathematical calculation. Higher precedence perform before than the lower precedence i.e multiplication should be done before addition. Simple Example -> ...

Static Initializer Block

Static Initialization Block-SIB The Static members of the class are stored inside the Class Memory space in heap. The Static members can be accessed directly with the class name there is no need to create objects to access them. A block of ...

What are categories, content items, Sections & Articles in Joomla?

Sections and Categories: Sections and Categories in Joomla are used to organise or manage the articles. A section have one more categories and a category have one or more articles assigned to it. An Article in Joomla is associated with exactly...

JavaScript Popup Boxes

Alert Box An alert box is used if you want to make sure that user has provided the information . user have to click "OK" to proceed whenever pop-up arises. Syntax window.alert("sometext"); Example: <!DOCTYPE html> <html>...

HTML Event Attributes

Let us discuss some of the HTML Events Attributes: 1. oninput 2. onselect 3. onchange 4. onsubmit 5. onkeypress 6. onresize Let us discuss it one by one 1. oninput - When an element get the user input, this attribute fires autom...

Encapsulation

Encapsulation is a concept of wrapping up of data into a single unit and hiding implementation details from the user. If we use the private method then they can not be accessed in the other class. If we put a getter setter method to update ...

Final Keyword

Final is keyword that can be used before a class or method or a variable. Final Class They can not be subclassed and the method in it are by default final. public final class MyFinalClass {...} public class ThisIsWrong extends MyFinal...

Why String is an immutable class in Java ?

Why String is an immutable class in Java ? Before going for the above question we should be clear what are Immutable classes ? Immutable classes are the one which once created, then its instances can not be changed. Objects of the Immutabl...

How to use UIActivityViewController for sharing on iphone and ipad

Hello Readers, In order to share text or links from the application, you may use UIActivityViewController . This is an easy way to share from within the application. NSString *textToShare = @"text you would like to share" NSURL ...

Simplification of bug report data

Simplification of bug report data:- The sequence of actions that are applied on the software to reproduce the defect or bug, actually defines the way to get to the problem. A tester may detect a number of bugs during the testing session, howev...

How to move an article to archive status?

To move an article to archive status you need to follow the steps given below: Login the backend of the Joomla Site(Joomla administrator) Select Content (given in the menu at the top of the page) -> Article Manager. You will see a page w...

Difference between ServletConfig and ServletContext

ServletConfig ServletConfig is use to initialize a servlet. Its scope is within the servlet i.e.,when servlet starts executing, ServletConfig object will be available until execution of servlet is completed. For a particular servlet, there is ...

What is Agile Model?

What is Agile Model ? Agile model comes under the incremental model. Every application or software are expanded in the progressive or incremental way, quick period. In the agile model effects or impacts are appears in short growing or incrementa...

Access Modifiers

Access modifiers in java are used to control the access of other classes to access the class or method. There are different type of access modifiers used 1.Public-It is the default access modifier it means that your class or method is visib...

How to assign a module to specific pages in Joomla 3.1

Joomla assign positions to module i.e., position tells where you want to place th module in the page. You can assign the position by following steps: Login to backend of your website(Joomla administrator). Go to Extensions --> Module Man...

JavaScript String Operators

Basically string is used to hold the data in text form . Mostly used operation on string is to check the length of string , to concatenate with the help of + and += ,check for substring with the help of indexOf method and extract substring with t...

Wrapper classes in JAVA

Wrapper classes are used to convert any data type into an object. a wrapper class gets enclose around a data type and appears as an object. for example: int k = 100; Integer it1 = new Integer(k); The int data type k is converted into an o...

Memory Management in Java

Memory Management In Java The memory management is done in Stack and Heap in java. whenever the java command is triggered it divides memory in two parts(Stack and Heap) for the program, the Stack is used for the execution purpose and Heap is u...

How to hide a live site from others while developing?

Joomla provides you the facility to hide the live site from others while your are developing the site. For this you required to follow the steps given below: Login to the back-end of Joomla Site(Joomla administrator). Select Site -> Glob...

JavaScript indexof() and lastindexof() String Methods

indexof() method The indexOf() method gives the position of the first occurrence of a particular text in a string Example < !DOCTYPE html> <p id="see">I am Very good person</p> <button onclick="mydata()"...

Exception Hnadling

Exception handling in java is a way to catch error or exception Exception is an event that can occur during the execution of the program. We use try catch and final to catch error. When an error occur in a method it creates an object of ...

How to customise the information shown in the Login Form module?

To customize the information of Login Form module according to your requirement you need to follow the following steps: Login to the backend of Joomla site(administrator). Select Extensions -> Module Manager. A list module appears. Sear...

Use multiple tables join in YII custom query

In yii we can write our custom or row query for complex queries here is an example of custom query with multiple table joins $data = Yii::app()->db->createCommand() ->select('column1.column2,column3.name') ->from('table') ->...

Difference between Array and Structures in C

ARRAYS 1). An array is a collection of homogeneous elements. 2. An array is a derived data type. 3) Any array is like a built-in data types. All we have to do is to declare an array variable so that we can use it. Example of Array to fin...

Difference between Test Plan and Test Strategy

1) A test plan is a document which describes the approach to test a system or a software product whereas Test Strategy is a guideline which describes the test design/methods and determines how the testing to be done. 2) Components of test plan i...

Test Data and its Importance

What is a test data? In order to test a software or product, we need to enter some data is known as a test data. It is generated by a tester or by automation tools to support testing. It affects the execution of a specific module.Test data may b...

About Penetration Testing

Penetration testing is a type of security testing used to test the insecure or weak areas of the system or application. The idea of pentesting is to find vulnerabilities before they are found by other malicious agents. Types of Pen-testing ...

About Security Testing

Security testing can be check whether the application is secured or not and this concept covering the following thing: Data Security Network Security Data security is primarily focused on securing the data while storing or transmitting it. T...

How to enable CURD operation in YII

In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd. For enable curd go to your main.php file and find keyword 'gii' and you will see like this /* 'mod...

How to configure database setting in YII php framework

In 'config/main.php' file we have database setting in yii for set or change database open main.php file and search 'db' you will see something like this 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=mydb', ...

Send Email functionality for android application in flash AS3

We can add the funtionality of sending email to our android app in Flash by just importing chunkmail ANE file. WE just have to import and hit the sendEmail() method. import com.turbidwater.chunkemail.ChunkEMail; import mx.events.FlexEvent...

How to make RecyclerView in Android studio?

Here, I have create a RecyclerView app in android .The RecyclerView is new advanced widget and flexible version of ListView.Below i have described step by step recycler view .. Step(1)- In (build.gradle) folder Add first dependencies . ...
1 196 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: