Given a string, print the longest repeating sub-sequence such that the two sub-sequence don’t have same string character at same position, ...
Read More
how to get real ip address of client
Method for obtaining client real IP address public String getIpAddr(HttpServletRequest request) { String ip = request.getHea...
Read More
How to use postman for testing
For more info: Click
Read More
scroll bar wise color changes
Click New à Add collection’s à Go to Collection and click “Add request” à and give the method name for this collection à Save this ...
Read More
how to do image scan
image scan 1> To use this class, you need Apache commons-codec-1.7 .jar package com.kartik.image.scan; import java.io.File; import j...
Read More
Dynamically Change the Title of an HTML Page
Here is a simple way by which you can dynamically change the title of the browser window (or an HTML page). There are certain scenarios w...
Read More
bench mark of compiler using Ackerman function
Recursion A function may be called from another function or it may call itself. Recursion implies afunction calling itself. If a functi...
Read More
Find the Missing Number
You are given a list of n-1 integers and these integers are in the range of 1 to n. There are no duplicates in list. One of the integers ...
Read More
VisualVM monitoring like jconsole
How To Get VisualVM The best part of VisualVM is that it's in your JDK bin directory already, if you've got any version of JDK1.6...
Read More
with out for loop read a file by using parallel thread or executors service
with out for loop read a file by using parallel thread or executors service package com.kartik.file.write; import java.io.Serializable...
Read More
xml to html or xml covert using xslt templates
Xml to html convert using xslt <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="ht...
Read More
string to xml or html Beautifier
Xml or html beautifier from staring content in java. So we need one jar file please download from google 1> To use this class, you nee...
Read More
Subscribe to:
Posts (Atom)