Archive by Author

JSF 2.0: Introduction and Overview

JSF 2.0: Introduction and Overview

JavaServer Faces (JSF) is a Java-based Web application framework intended to simplify development integration of web-based user interfaces. JSF is a request-driven MVC web framework based on component driven UI design model, using XML files called view templates or Facelets views. Requests are processed...
Filed in: HTML, JSF, Java
15
Print the Stack Trace of the Exception to a String

Print the Stack Trace of the Exception to a String

When an exception occurs, this code snippet will print the stack trace of the exception to a string. This way, the exception stack trace at runtime can be recorded in log file. public static String getStackTrace(Throwable t) { StringWriter sw = new StringWriter(); PrintWriter pw...
Filed in: Java
0
Special Characters

Special Characters

To make special characters and accented letters show up on your pages, use a special set of codes called character entities, which you insert into your HTML code and which your browser will display as the corresponding symbols or characters you want. The most common character entities have been collected...
Filed in: HTML, Java, Javascript
3
Remove special characters from a string using JavaScript

Remove special characters from a string using JavaScript

Hi Guys, I would like to share a JavaScript snippet code which will remove special characters (like !, >, ?, ., # etc.,) from a string. Well, recently I was working on a project where in which I want to remove some special characters from a given string or user entered string. For that I have written...
Filed in: Javascript
1
Collection Iterator

Collection Iterator

In this section, you will get the detailed explanation about the hasNext() method of interface Iterator. We are going to usehasNext() method of interface Iterator in Java. The description of the code is given below for the usage of the method. Description of the code: Here, you will get to know about...
Filed in: Java
4
Collections Framework

Collections Framework

Java provides the Collections Framework. In the Collection Framework, a collection represents the group of the objects. And a collection framework is the unified architecture that represent and manipulate collections. The collection framework provides a standard common programming interface to many of...
Filed in: Java
1
© 2010 Developer Articles. All rights reserved.
Powered by: Aaban Technologies