Saturday, September 25, 2010

Spring Rich Client Project(RCP)

The goal of the Spring Rich Client Project (Spring Rich) is to provide a solution for developers that need a platform for constructing high-quality Swing applications quickly.
       To know about Spring RCP more visit the following links

Saturday, June 26, 2010

Eclipse 3.5 Galileo Tutorials

If you want to know about Eclipse 3.5 Galileo , and it's important features visit .

One of the Javascript Plugin for Eclipse is JSEclipse and through this you can easily develop javascript files in your eclipse IDE.
For JSEclipse Update site   Click Here .

To generate PDF files using Java Programming language we have so many options,but one option is itext.

To know about itext visit the url .
To download all examples related to how to generate different types of pdf files like editable text in pdf

Request Java Related Jar Files Here

Hi , Request any Jar file related to Java Technology if you are not able to get with in short period,or if you don't want to waste so much time for a jar file,just give complete package with class name  or jar file with what ever details you know and send mail to with subject as Requesting Jar File,thanks.

Sunday, May 2, 2010

How to Paste Telugu Letters in Ms Word

If you want to paste telugu letters in ms word from some websites like, and some other newspaper or any telugu content which opened in Internet Explorer(Note : Some fonts in firefox browser does not be able to copy into ms word through this tool what i want to explain) you have to visit
the following url

To download the required file Click Here
If you want to know about how to use this tool visit the following url

Wednesday, April 7, 2010

word to pdf converter free download

To convert ms word document file into pdf document we have 1 free software that converts your document into pdf and it supports multiple languages also.

To dowload that software Click Here.

To know about that software visit the following url

Monday, March 29, 2010

Customize Javascript Confirm Box

Customized Javascript Confirm Box Example
<script type="text/javascript">
function doDelete()
var returnVal=0;
alert("Deletion Succesfully Done");
// write your own functionality here
        alert("Deletion Cancelled");
// write your own functionality here
<font size="5">
By clicking the bellow button you can observe customized javascript confirm dialog box
for deleting or some functionality what you require in your application.

                                 <input type="button" value="Delete" onclick="doDelete();" style="font:20px"/>

function yesDelete(){
window.returnValue = 1; 
return false;
function noDelete() {
window.returnValue = 0;  
return false;
<div style="position:relative;left:0px;top:0px;background:#000066;color:#FFFFFF;font-size:20px;font-weight:bold;width:396px;height:25px;padding-left:38px;border-bottom:solid 2px #000000;">Confirm Delete...</div>
<blockquote style="font-size:18px;font-weight:bold;color:#FF0000;margin-top:50px;">Are you sure you wish to Delete this Record?</blockquote>
<div style="width:396px;text-align:center;">
<input type="button" value="    YES    " onclick="yesDelete();"  style="font-weight:bold;margin-right:10px;cursor:pointer;"><input type="button" value="     NO     " style="font-weight:bold;margin-left:10px;cursor:pointer;" onclick="noDelete();">

Both Main.html and YesOrNo.html files should be in the same folder.

Monday, March 22, 2010


Source :

Wednesday, March 17, 2010

Basic Servlet Structure

A servlet is a small Java program that runs within a Web server.Servlets receive and respond to requests from Web clients,usually across HTTP, the HyperText Transfer Protocol.

To write a Servlet Class we follow some basic steps.
1.Implement the Servlet interface available in javax.servlet package(javax.servlet.Servlet).
2.The acees speifier for your servlet class must be public.

 public class BasicServlet implements Servlet
                   // Here we have to implement all methods in Servlet inteface.


Methods in Servlet Inteface:

public void init(ServletConfig config) throws ServletException


By seeing the above method,we easily understand the init(ServletConfig config) always throws ServletException.So we have to handle when we implement our own Servlet class.

An Example to Implement init(ServletConfig config) method with some different syntax
Ex 1:
import javax.servlet.*;
public class SampleServlet implements Servlet
       public void init(ServletConfig config)
                         //your code

                  catch(ServletException se)  { se.printStackTrace(); }

// implement remaining all methods availabe in Servelt interface with some code to properly compile the java file

Ex 2:
import javax.servlet.*;
public class SampleServlet implements Servlet

       public void init(ServletConfig config) throws ServletException

                    // your code
// implement remaining all methods availabe in Servelt interface with some code to properly compile the java file


By seeing the above two examples,it is clear that when ever we write init(ServletConfig config) method ,it is not necessary to declare throws ServletException for inti(ServletConfig config) method.
    For informing the ServeltContainer to say initilization failed we are throwing ServletException to not to put  Servelt Object in service,instead of explicity handling ServletException using try/catch blocks.If we are handling exception explicity how to inform the container about init() fail.Is there any solution in this case.Think your self.

Monday, March 15, 2010

Software Jobs

visit the following links to know about the software jobs

Disable Mouse Right Click in IE ,Firefox & Google Chrome

<script type="text/javascript">
<!-- Disable Right Click in IE & Firefox -->
var message="";

function clickIE()

{if (document.all)
{(message);return false;}}

function clickNS(e) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.  onmousedown=clickNS;}
{document.onmouseup=clickNS;document.oncontextmenu  =clickIE;}

document.oncontextmenu=new Function("return false")

Sunday, March 7, 2010

javascript email validation example

This is the customized javascript email validation , based upon your requirement,you can be able to customize the validation with simple code.

function ValEmailId(arg)
    var email=arg;     
    var f=0;
      if (! allValidChars(email)) { 
      else if (email.indexOf(".") < 1)  { 
      else if (email.indexOf("_") < 1 && email.indexOf("_")!=-1) { 
      else if (email.indexOf("-") < 1 && email.indexOf("-")!=-1) {
      else if (email.indexOf("@") < 1) {
      else if (email.indexOf(".@")>=0 || email.indexOf("_@")>=0 || email.indexOf("-@")>=0 ||  email.indexOf("@@")>=0 || email.indexOf("--")>=0 || email.indexOf("__")>=0 || email.indexOf("-_")>=0 || email.indexOf("_-")>=0) {
      else if(email.indexOf("@.")>=0 || email.indexOf("@_")>=0 || email.indexOf("@-")>=0)
      else if (email.lastIndexOf(".") <= email.indexOf("@")) { 
      else if (email.indexOf("@") == email.length-1) { 
      else if (email.indexOf("..") >=0) {
      else if (email.indexOf(".") == email.length-1) { 
       alert("Please Enter Valid Email");
       return false;

function allValidChars(email) {
  var parsed = true;
  var validchars = "abcdefghijklmnopqrstuvwxyz0123456789@.-_";
  for (var i=0; i < email.length; i++) {
    var letter = email.charAt(i).toLowerCase();
    if (validchars.indexOf(letter) != -1)             
    parsed = false;
  return parsed;

Tuesday, March 2, 2010

Download Java Projects,.Net Projects

To download java projects and .net projets which were very helpful for java & .net academic students visit the following,and to improve their knowledge in java or .net.

Monday, March 1, 2010

Eenadu Computer Articles

To know about new and updated information in Computer Technology in telugu language from Eenadu Paper Eenadu Articles that are printed on every thursday from the months of December 2009- February 2010 then Click Here to Download those articles in Pdf format.

Saturday, February 27, 2010

ThreadLocal Example in Java

To share a some object associated or linked with 1 thread at any point of time and do not want to modify this value by any other thread then ThreadLoal is useful.This also avoids no need to think about synchrniation,because each thread maintain's it's own copy.

public class ThreadLocalExample extends Thread {

private static int nextSerialNum = 0;
private static ThreadLocal serialNum = new ThreadLocal() {
protected synchronized Object initialValue() {
return new Integer(nextSerialNum++);

public static int get() {
return ((Integer) (serialNum.get())).intValue();

public void run() {
for(int i=1;i<30;i++)
    System.out.println("Name : " + Thread.currentThread().getName() +" Value : " + get());

  public static void main(String[] args) {
    Thread t1 = new ThreadLocalExample();
    Thread t2 = new ThreadLocalExample();
    Thread t3=new ThreadLocalExample();

For more information on ThreadLocal class usage

To understand this concept more clearly execute the above program and observe the output.

Monday, February 22, 2010

Struts Layout Tree View Example

Struts Layout provide so many features for Struts developers,
so if you want to know about more information on struts-layout visit

To know about what the features are there in practical some programming example requried.

To download struts layout tree view example click any of the bellow links
Mediafire  :

how to read excel file in java

To read Excel file in java using Jakarta POI  (or) JExcel API  visit the following url

To download POI Jar file Click Here

Sunday, February 21, 2010

How to Write and Read Some Content into (or from) File Using Java Script

To write some content into some file or read content from file and wants to store all file content in one variable and wants to dispaly this as a alert or some thing the following program will be helpful.This works in Internet Explorer.


<SCRIPT language="JavaScript">

function WriteAndReadFile()


var fso = new ActiveXObject("Scripting.FileSystemObject");

var fh = fso.CreateTextFile("D:\\Test.txt", true);

fh.WriteLine("Text Example 1");

fh.WriteLine("Text Example 2");

fh.WriteLine("Text Example 3");

var f;

var str;

f = fso.OpenTextFile("D:\\Test.txt", 1);

var s=f.ReadAll();








<SCRIPT language="JavaScript"> WriteAndReadFile(); </SCRIPT>




Turbo C Software Free Download

To download Turbo C Software from official web site that you have to register and then you are able to download freely.

To install C software in Your Windows Operating System copy all Disk2,Disk3 files individually into Disk1 and click install.exe present in your Disk1 which came with your downloaded Zip file.
Simply Click Here to Download

Ajax Tag Library for Server Side Java Applications

Ajax Tag Library from is good to reduce the maintenance cost of our project developed in servlets,jsp or struts.To know more about this ajax tag library from sourceforge Click Here.

Thursday, February 4, 2010

How to Open Notepad through HTML File

The following program will launch the Notepad by Pressing button in web browser.This works in Internet Explorer only.

<script language="JavaScript" type="text/javascript">
function runReport()
var rep = new ActiveXObject("WScript.Shell");
rep.Run("C:\\Windows\\system32\\notepad.exe", 1, true);

<h1>Run a Program</h1>
This script launch the file >> c:\windows\system32\notepad.exe<p>
<button onclick="runReport()">Run Windows NotePad</button>

Wednesday, January 6, 2010

Pdf Merger and Splitter Without Any Water Marks

If you want to merge serveral pdf files into single file or wants to split 1 pdf into multiple pdf files or want to set password to pdf then Click Here to Download.

    After downloading the above software you can see the pdf tools (3 rd tab) section,there you can find all these functionalities and more.

Google Book Downloader

If you want to download Google Books with full view or limted view(only limited pages are downloaed) , we can use Google Book Downloader.
          To Download Google Book downloader  Click Here