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

Search In

Export from a list containing objects to excel file in java

Suppose you have a list containing objects. You can export it to the excel file.  You will require the following jars for this: xmlbeans-2.3.0.jar poi-3.9-20121203.jar poi-ooxml-3.9-20121203.jar poi-ooxml-schemas-3.9-20121203.jar dom4j-1

Setting limit for the no. of words per record in solr while fetching

Fetching records in solr: Once you have finished with indexing in solr, now you can perform search on your records with the help of queries. Go to the url: http://localhost:8983/solr/#/collection/query  There is box with q, here yo

Initialize AngularJS Model with MVC Model

Hi All, When we need to use AngularJS to bind controls with AngularJS Model but we have MVC Model filled through MVC Controller, we can follow below steps to do the same without using "ng-init". Step 1: Create two js files in Scripts Fold

How to create Frame animation in android

 In the below example code. I have created Frame animation in android. Here I have created a Textview in activity_main.xml layout. After then I have created a new framanim.xml layout in drawable folder, In framanim.xml layout I have added four i

How to reset AUTO_INCREMENT in MySQL?

Hello friends, I was facing issue in database. I wanted the auto increment should start from 1. There were 20 rows in table. When I deleted all the rows from the table and inserted new row then auto increment started from id = 21 instead of 1. I wan

Chapter 3: Angular.js with UI Logic(Controller)

In the previous chapter we have discuss what is angularjs and what are the directives before proceeding to next chapter where we will practically try to implement all this it is necessary to know about angular.js definition and directives. As we all

Access Controls with examples in Ruby

Access controls refers to the methods which allow you to set the access to classes, methods and other members. They are used to encapsulate the components so that we can maintain security of these methods throughout the project. Ruby gives us three

How to add value in text box using click of button in odoo-9

In odoo-9 first we have to create the three fields in .py file and then add two fields and store it in third fields to click the button to help the get_total function. Then pass get_total function in button. Use this point show in below: 1- In .py

How to change the Order total in PDF and Add our custom field in magento?

In magento sometimes we are required to apply our own custom fee charges to reflect them when we generate the PDF from invoice in admin panel.  Lets see how we can do it: 1. Create a module with namespace as Custom and module as Fee. 2. Then C

How to rename a file

We have two ways by which we can rename our file 1.  Move method 2. MoveTo method 1. Move method Move method move a specified file to a new location. Syntax: public static void Move( string sourceFileName, string destinationFileName ) It

1 204 949
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: