Struts 2 Tutorial: Struts 2 Interceptors Tutorial with Example

Struts 2 Tutorial: Struts 2 Interceptors Tutorial with Example

Struts 2 Interceptors: Basics Struts2 provides very powerful mechanism of controlling a request using Interceptors. Interceptors are responsible for most of the request processing. They are invoked by the controller before and after invoking action, thus they sits between the controller and action.

[ read more ]

Google Map Geocoding Tutorial with Example

Google Map Geocoding Tutorial with Example

Google Map API has been a great way to show geographical information on web. A lot of mashup tools like this, have been created around Google Maps to show a wide variety of data. In my previous article about Introduction to Google Maps API, I had described basic APIs to integrate Google Map in your

[ read more ]

Create your own Search Engine(Interface) using Google Custom Search API

Create your own Search Engine(Interface) using Google Custom Search API

Google Custom Search API are wonderful tools to create some awesome search engine like tools. Also if you want to add a search option to your website and customize the look and feel of your search results, Google Custom Search API serve best to you. Ring in Spring with Stunning Lingerie from Jour

[ read more ]

Display server IP address dynamically with the help of AJAX

In the following example we will see how to display server IP address dynamically with the help of AJAX, HTML , & PHP. SimpleAjax.html <html> <body> // <![CDATA[ javascript" > // ]]> function ajaxfunction() { var xmlhttp; if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRe

[ read more ]

JavaScript Object Oriented Feature

In this article you learn the basics of JavaScript and create your first JavaScript program. What is Object Oriented Feature The ASP.NET and Visual Studio 7.0 are making important contributions to improvement of the web development experience. Unfortunately, this is also a tendency created among

[ read more ]

Javascript function to check if a field input contains letters and numbers only

// Function to check letters and numbers function alphanumeric(inputtxt) {  var letterNumber = /^[0-9a-zA-Z]+$/;  if((inputtxt.value.match(letterNumber))   {    return true;   } else   {    alert("message");    return false;   }   } To get a string co

[ read more ]

Create ZIP Files Using JavaScript

Create ZIP Files Using JavaScript

Let us see how to generate a simple ZIP file in JavaScript. Sample ZIP in JavaScript Let us create a helloworld ZIP file which contains two text files, hello1.txt and hello2.txt. Step 1. Import jszip JavaScript Include the jszip javascript file in the HTML document where you want to generate

[ read more ]

SOLVED: How we send data from one jsp to other using Form ENCTYPE=”multipart/form-data”

hi dear’s I am caught in the problem that when i use “Form ENCTYPE=”multipart/form-data” and Method=”Post” and ACTION=”FileProcess.jsp” then i am get the file on FileProcess.jsp but i can’t get the other data like example Problem Post by that Som

[ read more ]

Step by step instructions to download and install LoadRunner

In the past few months, HP has done a lot of changes to the download location for various software that they offer. Here are the new and updated step-by-step instructions to download and install HP LoadRunner. Go to LoadRunner Download location. Hit TRIALS AND DEMOS dropdown and click HP LOADRUNNER

[ read more ]