Latest Posts From Pankaj

Modify XML file in Java (DOM Parser)

We can modify XML file in Java using DOM parser. We can add elements, remove elements, edit element values, edit attributes in an XML document in java using DOM Parser. Modify XML File in Java….

How to read XML File in Java (DOM Parser)

Today we will learn how to read the XML file in Java. We will also learn how to parse an XML file in java to object using DOM parser. DOM XML Parser is easiest to….

How to validate XML against XSD in Java

Java XML Validation API can be used to validate XML against XSD in java program. javax.xml.validation.Validator class is used in this program to validate xml against xsd in java. Validate XML against XSD Here are….

How to write XML file in Java using Java StAX Iterator API

Java Streaming API for XML or Java StAX API was introduced in Java 6 and considered superior to DOM and SAX parsers. As explained in earlier post about Java StAX API, it consists of cursor-based….

jQuery Hello World

Today we will look into jQuery Hello World program. In the earlier post, we discussed what is jQuery?. Here we will learn how to download and install it and then run a simple “jQuery Hello….

What is jQuery?

jQuery is nothing but a JavaScript library. What makes it special is the things you can do easily using jQuery that earlier seems to be hard and time taking using JavaScript. Current jQuery version is….

Java append to file

Today we will look into how to append to a file in java. Java append to file is a common java IO operation. For example, whenever we print something to server logs, it gets appended….

Java Write to File – 4 Ways to Write File in Java

Java provides several ways to write to file. We can use FileWriter, BufferedWriter, java 7 Files and FileOutputStream to write a file in Java. Java Write to File Let’s have a brief look at four….

Java read file to String

Sometimes while working with files, we need to read the file to String in Java. Today we will look into various ways to read the file to String in Java. Java read file to String….

Scanner Class in Java

Scanner class in Java (java.util.Scanner) was introduced in Java 1.5 as a simple text scanner which can parse primitive types and strings using regular expressions. Scanner Class in Java Java Scanner class can be used….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages