Archive for February, 2009

JavaServer Faces JSF Validation Tutorial: Error Handling in JSF

JavaServer Faces JSF Validation Tutorial: Error Handling in JSF
In continuation with my previous article on Creating JavaServer Faces JSF application in Eclipse, I am posting next article in the series. This time we will cover details about JSF Validation Model and Handling Errors in JSF.JavaServer Faces technology supports a mechanism for validating the data of editable components. Each component in JavaServer Faces, created ...

Google starts twitting: Says I’m feeling lucky

Google starts twitting: Says I'm feeling lucky
Google has started using Twitter and the first tweet that the official account of Google sent out is:“I’m 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00100000 01101100 01110101 01100011 01101011 01111001 00001010″If you convert all the 1's and 0's in a byte into ascii characters, the message is:I'm F E E L ...

Safari 4 beta hit the download shelves

Safari 4 beta hit the download shelves
A good news for all Safari fans. Safari 4 beta is released and is available for download on its site. It is available for Mac OS and Windows. Techcrunch is saying that the JavaScript engine of Safari 4 is 4x faster. Some fantastic benchmarks at cnet.co.uk reveled that Safari 4 ...

Tutorial: File upload in PHP, Securing the things.

Tutorial: File upload in PHP, Securing the things.
Usually users upload their file to a server through a web form as shown below:The HTML form looks something like this:Filename: ...

Creating & Parsing JSON data with Java Servlet/Struts/JSP

Creating & Parsing JSON data with Java Servlet/Struts/JSP
JSON (JavaScript Object Notation) is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). The JSON format is specified in RFC 4627 by Douglas Crockford. The official Internet media type for JSON is application/json.The JSON format is often used ...

Yahoo Search share rises and Google falls..!!

Yahoo Search share rises and Google falls..!!
A good news for Yahoo's share holders. The Internet company has shown an increase in number of search results and the competitor Google has registered a fall in its search share. Although the share is small but still it became significant in internet world to get a piece of cake.Yahoo's search share for January 2009 has ...

Tutorial: Creating JavaServer Faces JSF application in Eclipse

Tutorial: Creating JavaServer Faces JSF application in Eclipse
Let us see how to create a simple application using JavaServer Faces or JSF framework in Eclipse IDE. First let us see what are the tools required to create our hello world JSF application.JDK 1.5 above (download) Tomcat 5.x above or any other container (Glassfish, JBoss, Websphere, Weblogic etc) (download) Eclipse 3.2.x above (download) Sun Reference Implementation of JSF: (download). Following are the list ...

AutoSys Scheduler: Create & Manage Jobs using AutoSys Job Scheduler

AutoSys Scheduler: Create & Manage Jobs using AutoSys Job Scheduler
AutoSys is used for defining, scheduling and monitoring jobs. These jobs can be a UNIX script, java program or any other program which can be invoked from shell. Before starting we assume that user has already setup an AutoSys environment. This environment consists of autosys server and autosys client. AutoSys System components 1. Event server (AutoSys database) 2. Event ...

Tutorial: HTTP Session handling using Servlet Filters

Tutorial: HTTP Session handling using Servlet Filters
Following small piece of code comes handy whenever you are working for a J2EE web application in JSP/Servlet/Struts/JSF or any Servlet oriented web framework. A lot of time we have to handle session errors in such applications and redirect user to particular error page. Generally user is redirected to the login page where she can giver her credential and log in the application again. In ...

Handling Session timeout & other server http errors in AJAX

Handling Session timeout & other server http errors in AJAX
AJAX has really changed the way we build web applications.When I surf internet today, I find almost all the websites Ajaxified in some way. Writing an AJAX application is as simple as writing simple JavaScript methods and some server side code. I have been writing AJAX codes since a long time now and believe me tge most ...
Page 1 of 212
Copyright © 2012 ViralPatel.net. All rights reserved.