RE: I am Unable To access servlet.getServletContext().getAttribte("") in sessionDestroy() method

2007-06-08 Thread Fei Fei
What type is the variable servlet?extend HttpServlet? >Hashtable userList = >(Hashtable)servlet.getServletContext().getAttribute("userList"); in this code,two possible can throw the java.lang.NullPointerException, 1,the variable servlet is null; 2,the returned type is null by method getSer

RE: Exception while using validator framework

2007-06-01 Thread Fei Fei
OH.. you can referrence this web page to fix your problem: http://www.junlu.com/msg/200341.html _ With Windows Live Hotmail, you can personalize your inbox with your favorite color. www.windowslive-hotmail.com/learnmore/personalize

RE: Exception while using validator framework

2007-06-01 Thread Fei Fei
update your commons-validator.jar file,it is an old version, - A Fei -> Subject: Exception while using validator framework> Date: Fri, 1 Jun 2007 12:22:45 +0530> From: [EMAIL PROTECTED]> To: user@struts.apache.org> > > Hi all,> > > > I have created a sample struts application> > Im trying to m

RE: The class variable reference null problem

2007-05-31 Thread Fei Fei
you can try to do something like this: public class ClsAction extends Action { // Start Intialize the instance of the graphics serverpublic Object lockObj = new Object();public static GraphicsServer myServer = ClsInitializeServer.getInitializeInstance(); // End