Browsed by
Month: April 2017

Angular 4 Router Simple Example & Demo

Angular 4 Router Simple Example & Demo

Angular 4 Router Simple Example & Demo: Router is one of the great feature available in angular to bring the content without refreshing the page. Here we are going to have three links namely home, login and register. On click of each link a new content will be displayed only in that particular area without refreshing the full page.   Prerequisite: Node JS, NPM and Angular-CLI must be installed and running on your machine.   If you do not know…

Read More Read More

1,531 total views, 1 views today

Spring Boot + Rest Controller Simple Demo

Spring Boot + Rest Controller Simple Demo

Spring boot is becoming familiar along with angular. spring boot can be used for standalone and batch projects. In Angular it is used for backend with rest controllers. So knowing how to use spring boot with rest controller will be very helpful for angular backend java developments. Prerequisite: Spring STS Tool If you dont have you can download and install from,   Spring STS Download Link     What this program explains: This below steps explains how to create a…

Read More Read More

883 total views, no views today

Adding Angular4 + Typescript in Spring STS Eclipse

Adding Angular4 + Typescript in Spring STS Eclipse

Today we are going to see how to add angular 4 + typescript 2.2 plugins in eclipse, here spring sts eclipse.   I am assuming you already have spring STS in your machine, if no download it from the below link.   Spring STS Download   Step 1: Open Spring STS       Step 2:  Go to Help -> Eclipse Marketplace and search for “Typescript”           Step 3:  Click intall and in the next screen select…

Read More Read More

1,540 total views, 1 views today

Bootstrap 4 + AngularJS 4 Integration & Simple Demo

Bootstrap 4 + AngularJS 4 Integration & Simple Demo

Bootstrap 4 + AngularJS 4 Integration & Simple Demo: Few days back we have seen how to add bootstrap 4 to angular-cli project. Today we are going to see some simple demo and use of the same.   If you are unsure about how to add bootstrap 4 to your angularjs 4 project, then follow the steps in the below post.   How to add Bootstrap 4 to Angular-CLI project ?   Without Bootstrap:       With Bootstrap 4:…

Read More Read More

861 total views, 1 views today

Ctrl + H to open File Search instead of Java Search in Eclipse

Ctrl + H to open File Search instead of Java Search in Eclipse

Ctrl + H to open File Search instead of Java Search in Eclipse: Many times we need to search something in eclipse, but that time we have to navigate to file search from java search as java search only will be opened by default when we click Ctrl + H in Eclipse. Today we are going to create a key / change the CTRL + H to open File search (instead of Java Search)   Before Setting the Keys [Open…

Read More Read More

654 total views, no views today

AngularJS 4 Input Text box Example

AngularJS 4 Input Text box Example

AngularJS 4 Input Text box Example: Input text is one of the mostly used component in any form. You can not find a single dynamic website without input text in web applications. Today we are going to see an example on how to use input text in angularjs 4.   Prerequisite: 1. NodeJS and Angular-CLI must be installed, if not refer the below links for quick guidance.   3 Simple Steps to install NodeJS in Windows 7 How to install…

Read More Read More

1,004 total views, no views today

Auto Expand Column/Cell Excel Writing in Java

Auto Expand Column/Cell Excel Writing in Java

Auto Expand Column/Cell Excel Writing in Java: When you are writing an excel sheet through java program you will come to these kind of requirements. By default excel file will be generated without any auto fit to text or auto column width properties. We need to set the sheet and cell styles/properties for this externally.   Prerequisite: You need all Apache Poi Jars to write the excel sheet through Java (Refer below post for all the jars) I used pojo…

Read More Read More

829 total views, no views today

Google Webmaster Console Keyword Position Report Program in Java

Google Webmaster Console Keyword Position Report Program in Java

Google Webmaster Console Keyword Position Report Program in Java: This post will be very helpful for one who has website and already configured in google webmaster console. Google webmaster console is a place whee you can add your sites sitemap and check the keyword position, total impressions and clicks of each keyword details.   This java program will compare current month and previous month google webmaster console report and give you Keywords which started appearing newly Keywords which stopped appearing…

Read More Read More

1,042 total views, no views today

3 Simple Steps to Install Certificate in Java

3 Simple Steps to Install Certificate in Java

3 Simple Steps to Install Certificate in Java In java all the certificates should be installed in the below file: C:\Program Files\Java\jre1.8.0_111\lib\security\cacerts Path and version vary based on your own system configuration, path where you installed and version what you installed. You can find a file named “cacerts” which is the one will have all the certificate details installed on this particular jre. Step 1: Path of the certificate storage As I mentioned lib\security\cacerts is the path where we need…

Read More Read More

613 total views, no views today

If/Else Conditional Statement in AngularJS 4

If/Else Conditional Statement in AngularJS 4

If/Else Conditional Statement in AngularJS 4: conditional statements are very important in any programming language. Today we are going to see how to use these below conditional statements in angularjs 4. we used ng-template to display the tags/values based on satisfying conditions. 1. If/else 2. If/then 3. If/then/else Official documentation links for your reference: NgIf-directive Official Documentation: NgIf Directive Documentation NgTemplateOutlet Official Documentation: NgTemplate Directive Documentation   1. Understanding If/else: app.component.ts: export class AppComponent { title = ‘javadomain’; } app.component.html:…

Read More Read More

751 total views, no views today