[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Access Tomcat Server URL from Smartphone/Mobile/Tablet

One Line Answer : Disable the System Firewall  I was developing a small web application in my Laptop using Spring MVC and was testing the application in Laptop browser. In one case, I wanted to see the web page in mobile and so I opened the URL in Android smartphone. But the page was not reachable due to the… Read More »

Read more
Alternative text

Linked List in C – Check whether Linked List is Palindrome using Stack

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Check whether Linked List is Palindrome using Stack : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; void print(struct node **head) { struct node *temp=*head; printf("\nList:"); while(temp!=NULL)… Read More »

Read more
Alternative text

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name – Solved

The exception javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name is actually a bug in the Java v1.7. However we wont get this exception in Java v1.6. To solve this issue, you can either roll back the Java version to 1.6 or add the following code to your start of the program. System.setProperty(“jsse.enableSNIExtension”, “false”);

Read more
Alternative text

Java – Read/Parse Command Line Arguments/Options

Maven Dependency : <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.2</version> </dependency> Sample Java Program : package test; import org.apache.commons.cli.BasicParser; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; public class Test { public static void main(String[] args) { //Define Options Options options = new Options(); //Option Name - option1 //Has input value - true options.addOption("option1", true, "Option 1 Description");… Read More »

Read more
Alternative text

Stack Implementation using Linked List – C Program

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Stack Implementation using Linked List – C Program : Source Code : #include<stdio.h> struct node *top=NULL; //Declared as global variable since it is accessed by multiple functions //Pointer that points the top node of the stack… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]