jsp - What is wrong with this struts-config.xml? -


getting following error : java.lang.nullpointerexception: module 'null' not found.

 <?xml version="1.0" encoding="utf-8" ?>       <struts-config>          <form-beans>             <form-bean name="registrationform" type="com.testapp.actionform.registrationform" />         </form-beans>          <global-exceptions>         </global-exceptions>          <global-forwards>         </global-forwards>          <action-mappings>              <action path="/registration" type="com.testapp.action.registrationaction" name="registrationform"   scope="request" validate="false" input="index.jsp" >                 <forward name="success" path="/pages/registrationsuccess.jsp" />             </action>          </action-mappings>          <message-resources parameter="resources.application" />      </struts-config> 

do have servlet mapping setup in web.xml

    <servlet>     <servlet-name>action</servlet-name>     <servlet-class>org.apache.struts.action.actionservlet</servlet-class>     <init-param>         <param-name>config</param-name>         <param-value>/web-inf/struts-config.xml</param-value>                </init-param> 

1

see section on "configuring application modules" in docs


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -