Monthly Archives: September 2010

Some Important Sql Queries in Oracle


To know the current user in Oracle select user from dual; Steps to know list of users in the Oracle database. Connec to dba user conn sys/password as sysdba; execute below query to get list of users select * from

Tagged with: , , , , , ,
Posted in Oracle

What is JSF?


JSF stands for Java Server Faces and it is an industry standard and a server side user interface component framework for building component-based user interfaces for web applications. JSF has set of pre-assembled User Interface (UI). It is event-driven programming

Posted in JSF

Difference between Iterator and ListIterator


Iterator: Using Iterator we can iterate only in forward direction and you cannot add elements while iterating and Here cursor always points to specific index. Example:   public class Example { public static void main(String[] args) { ArrayList aList =

Posted in JAVA

Struts MVC


Struts is MVC based framework developed by Apache. Framework generally provides the basic functionality for a project. Struts provides the set of Action classes, set of tag-libraries, set of Form beans and etc. Struts combines the most of the design

Posted in Struts 1.x

Difference Normal HTML tags and Struts HTML tags


Apache struts provided the struts html tags as the replacement of normal html tags for the Jsps. These Struts html tags are directly bind to the form bean using ActionForm where as normal html tags cannot bind with form beans.

Tagged with:
Posted in Struts 1.x

Inner classes in Java


There are four types of classes in Java, those are loosely called as inner classes. Used correctly, inner classes are an elegant and powerful feature of the Java language. The inner classes are Static member classes Member classes Local classes

Tagged with: , , ,
Posted in JAVA

Enabling javascript in browsers


To enable java script in you browser, please follow the instructions below: Internet Explorer (6.0) 1. Select ‘Tools’ from the top menu 2. Choose ‘Internet Options’ 3. Click on the ‘Security’ tab 4. Click on ‘Custom Level’ 5. Scroll down

Posted in JavaScript

Empty Validation in JavaScript


function checkNullField() { var field1 = document.formName.fieldName.value; if(field1 == ”) { alert(“Field Name is empty”); return false; } else { return true; } }

Posted in JavaScript

Decimal Validation in JavaScript


function MoneyValidation() { var value1 = document.formaName.fieldName.value; if(value1.indexOf(“.”) != -1) { if(!/\.[0-9]{1,2}$/.test(value1)) { alert(“value1 should be two fractional positions required”); return false; } } return true; }

Posted in JavaScript

Numeric Validation in javaScript


var isNS4 = (navigator.appName==”Netscape”)?1:0; function checkCharacter(event){ if(!isNS4){ if(event.keyCode == 8 || event.keyCode == 0 ) return true; if(event.keyCode < 46 || event.keyCode > 57 ) { event.returnValue = false; } } else{ if(event.which == 8 || event.which == 0 )

Posted in JavaScript

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 678 other followers

Calendar
September 2010
M T W T F S S
« Aug   Oct »
 12345
6789101112
13141516171819
20212223242526
27282930  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 259,017 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100