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
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
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
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
4 matches
Mail list logo