 |
Struts is a free open-source framework for creating Java web applications.
Web applications differ from conventional websites in that web applications can create a dynamic response. Many websites deliver only static pages. A web application can interact with databases and business logic engines...
By Sanskruti
|
0 3,429 |
 |
What Is GlassFish?
Depending on how you look at it, GlassFish is any of the following:
A community. The GlassFish community currently includes over 1100 members participating in the GlassFish project, with the objective of developing an open source application server that implements Java EE...
By S k
|
0 3,571 |
 |
How do I instantiate a bean whose constructor accepts parameters using the useBean tag?
Replacing Characters in a String?
Searching a String?
Connecting to a Database and Strings Handling?
What is a transient variable?
By sunina
Last Message By shabbir
|
1 19,504 |
 |
Automatic Conversion
In Java type conversions are performed automatically when the type of the expression on the right hand side of an assignment operation can be safely promoted to the type of the variable on the left hand side of the assignment. Thus we can safely assign:
byte -> short -> int...
By pradeep
|
0 49,216 |
 |
Introduction
Java can be used to create two types of programs: applications and applets. An application is a program that runs on a computer, under the operating system of that Computer just like the one created using C or C++.
An applet is an application that is accessed on the...
By techgeek.in
Last Message By suman52
|
7 6,596 |
 |
Java's networking classes enable you to implement applications that communicate across a network/remote connection, but the platform also extends into the realm of the Internet and URLs. Java's URL class makes accessing Web resources as easy as accessing a local file. Let's take a look at how you...
By pradeep
Last Message By fiverivers
|
13 58,324 |
 |
Using Regular Expressions in Java
JDK versions 1.4.0 and later have comprehensive support for regular expressions through the standard java.util.regex package. Because Java lacked a regex package for so long, there are also many 3rd party regex packages available for Java. I will only discuss...
By pradeep
Last Message By elec.shabnam
|
13 26,251 |
 |
Comparing Strings
To compare strings function equals() is used.
String str1 = "XYZ";
String str2 = "xyz";
boolean result = str1.equals(str2);
boolean result2 = str1.equalsIgnoreCase(str2);Output
By Sanskruti
Last Message By bapsbps
|
6 13,688 |
 |
Java is an object-oriented language and as said everything in java is an object. But what about the primitives? They are sort of left out in the world of objects, that is, they cannot participate in the object activities, such as being returned from a method as an object, and being added to a...
By techgeek.in
Last Message By Balaji Reddy
|
13 102,666 |
 |
Java program for zipping.Download the file given as attachment.
unzip the file and store it in any folder in ur hard-drive....
go to command prompt....
set the classpath properly.
C:\Zipper\
C:\Zipper>set classpath=.
then type
By sallu
Last Message By coderzone
|
3 11,284 |