You must have seen the blur effect of html elements like table, div where the opacity of these elements are slowly made to transparent or opaque. This can be acheived through javascript.Internet Exlporer supports a CSS attribute called filter, wherein you can apply lot of different filter options available in browser. There are currently three categories of filters - Visual filters and Reveal/Blend Transition filters. ...
Today morning, I got this image in one of the forwarded email. Still can't stop laughing. I don't know if this image is copyrighted, still can't stop myself posting this. :D
What is GZIP? It is a compression format created by Jean-Loup Gailly and Mark Adler. Version 0.1 was first publicly released on October 31, 1992.GZIP is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. DEFLATE was intended as a replacement for LZW and other patent-encumbered data compression algorithms which, at the time, limited the usability of compress and other popular ...
ZIP files offer a packaging mechanism, allowing multiple files to be bundled together as one. Thus, when you need to download a group of files from the web, you can package them into one ZIP file for easier transport as a single file. The bundling can include additional information like directory hierarchy, thus preserving necessary paths for an application or series of resources once unbundled.This ...
All we need in order to create an input box like this is an image of a magnifying glass and some CSS code.This input box is simply created by adding a background image to the the input tag and a left padding so that the text doesn't overlap the background image. Download following image:This is an example of the CSS:.searchBox{ background-image:url('images/magnifying-glass.gif'); background-repeat:no-repeat; padding-left:20px; }Now, ...
I encountered this problem with message resource property files in Struts. The problem is:I have an entry in property file where in it takes few arguements {0}, {1} etc.some.property.key = Hello {0}, Following is your account's detail. \ Please note that your registration no. {1} \ is going to expire on {2}, kindly login into your \ account {3} and update it.Now when I put the value for the ...
Recently I came up with a requirement where in we have to display messages from multiple bundle resource (message resource) property files in Struts using <bean:message>. Following are the steps for the same:Make an entry of message resource file name in struts-config.xml file.Once this is done, the message resource file can be accessed by using the key (in this case we have ...
Setting up mysql password is one of the essential tasks. root user is MySQL admin account. Please note that Linux / UNIX login root account for your operating system and MySQL root are different. They are separate and nothing to do with each other (indeed some admin removes root account and setup admin as mysql super user). mysqladmin command to change root password If you have never ...
This example lists the files and subdirectories in a directory.File dir = new File("directoryName"); String; } } // It is also possible to filter the list of returned files. // This example does not return any files that start with ...
Problem Statement: We require to achieve internationalization using Struts 1.xWe have a layout setup for our application as header footer and content and few other tiles.. There is a select box in the header JSP wherein the user is allowed to select a locale – English, or Spanish Based on the selection, the labels/data in the content tile should change to the corresponding locale. Ie., the labels in the ...