Re: [java ee programming]

2009-11-26 Thread santhosh kumar
Hi , we can create object without using new opearator. 1) Using factory methods Ex:- NumberFormat obj=NumberFormat.getInstance(); 2)Using newInstance() method Ex:- Class c=Class.forName("SomeClassName"); SomeClassName obj=c.newInstance(); 3)using cloning Ex:- ClassName c1

[java ee programming] Reg : focus listener

2009-10-10 Thread santhosh kumar
 Hello, Is it possible to add focus listener to the JFrame or JScrollpane in java.If yes please let me know the way of approach. Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew --~--~-~--~~~---~--~~ You received

[java ee programming] How to load dll in java applet

2009-09-25 Thread santhosh kumar
 Friends,       i am trying to load dll files from java applet.but i am getting error ava.lang.UnsatisfiedLinkError: no javacdromwrapper in java.library.path     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)     at java.lang.Runtime.loadLibrary0(Runtime.java:822)     at java.lang.Sys

[java ee programming] use bean problem

2009-09-15 Thread santhosh kumar G
hi.. am using apache 5 for server... i have one html file and jsp file.. those things i put into the ROOT folder inside the apache... and i have a java class file.. that i put into the classes folder... when i cal the file i cant get values.. i attached a simple files , can anyone make it execute

[java ee programming] Re: How can i display image file from absolute path with JSP in Tomcat

2009-06-01 Thread Santhosh Kumar
Hi, You can do this by using java.io.File. *sample code* File file=new File("D:\\image_storage"); File listImages[]=null; if(file.existrs()) { listImages=file.listFiles(); if(listImages!=null) { for(int i=0;i //your code goes here, } } } regards, G.Santhosh Kumar 2009/6/1 Nguyễn Quang Tùng