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 680 other followers

September 2010
« Aug   Oct »
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
  • 219,545 hits
All tags
Apache Cassandra Arrays in Java Cassandra Cassandra Database Cassandra examples client stubs creating a java web service creating a web service using java difference between interface and abstract class Differences between SOAP and RESTfull webservices Display div as Overlay using JQuery download the spring basic application File directory Generating webservice client stubs Hibernate hibernate exceptions How to display over using JQuery how to generated web service client stubs in STS How to implement Spring basic application how to write singleton design pattern in java interface in java Java Java Arrays Java Example Programs Java examples Java interview questions java programs java project Java sample Programs JavaScript Java Script JavaServer Faces Java Sorting alogorithms Java Tutorials javatutorials Java Web services JDBC open shift openshift Overlay implementation using JQuery Overlay in JQuery POI API POI Examples public class public static void main Redhat OpenShift representational state transfer Restfull webservices Sample Overlay html with JQuery sample programs in java Service-oriented architecture Singleton design pattern in java SOAP SOAP Webservices software Spring Framework Spring Interview Questions Spring MVC Spring MVC Example program Spring MVC sample Program Spring Sample Programs Spring Tutorials Struts technology Top Java Interview questions w3c dom Web service web service client Web Service Description Language Web services webservices writing singleton design pattern in Java WSDL Xml xml parsers