Hi All,
I am a newbee to struts and trying some hands on it. I was just trying to 
develop a simple login form but getting following exception on initial run only.
---------------------------------------------------------------------------------------------
SEVERE: Error creating form bean of class 
com.abc.struts.form.LoginFormjava.lang.NullPointerExceptionat 
org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)at
 org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)at 
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)at 
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:477)at 
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)at 
jsp_servlet.__login._jspService(__login.java:196)at 
weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
---------------------------------------------------------------------------------------------
I tried searching thru all forums from last 2 days but could not found any 
solution to the issue. This seems to be a very common problem but I don't know 
why its not going away. I am really stuck up.
Below are the listing of files required to analyize the cause of error.
web.xml------------http://java.sun.com/dtd/web-app_2_3.dtd">actionorg.apache.struts.action.ActionServletconfig/WEB-INF/struts-config.xmldebug3detail30action*.doindex.jsp/WEB-INF/struts-html.tld/WEB-INF/struts-html.tld
index.jsp---------......Login.....
struts-config.xml-----------------http://struts.apache.org/dtds/struts-config_1_2.dtd">


Reply via email to