struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James <jd4...@sbc.com>
Subject Cannot retreive definition for form bean null Error
Date Mon, 21 Jun 2004 21:05:37 GMT
I'm trying to get an action to work properly and I get the above error when I 
try to leave out required info. on the form. I think it's just in my struts-
config.xml file, but I'm not sure what is wrong?

Here is what I have:
<!-- ========== Form Bean Definitions =================================== -->
  <form-beans>

	<!-- // // !!! order is important for the form-bean, display-name, 
description, form-property !!! // // -->
		<form-bean name="billingForm" 
type="com.sbc.map.actionform.BillingActionForm">
		</form-bean>
		
		<form-bean name="technicalForm" 
type="com.sbc.map.actionform.TechnicalActionForm">
		</form-bean>
  </form-beans>

  <!-- ========== Action Mapping Definitions ============================== -->
  <action-mappings>

		<action 
				path="/PrepareCase" 
				type="com.sbc.map.action.PrepareCaseAction">
				<forward name="failure" 
	path="/error.jsp"/>
				<forward name="success"	
	path="/GetCase.do"/>
		</action>
		
		<action 
				path="/GetCase" 
				type="com.sbc.map.action.GetCaseAction">
				<forward name="failure" 		
	path="/error.jsp"/>
				<forward name="successBilling"	
	path="/billingCase.jsp"/>
				<forward name="successTechnical"
	path="/technicalCase.jsp"/>
				
		</action>
		
		<action 
				path="/CreateBillingCase" 
				type="com.sbc.map.action.CreateCaseAction"
				name="billingForm" input="billingCase.jsp">
				<forward name="failureBillingCase"	
	path="/billingCase.jsp"/>
				<forward name="successCase" 		
	path="/status.jsp"/>
				
		</action>
In my billingCase.jsp I use:
<html:form action="/CreateBillingCase">

but when it goes to add errors everything goes blank and the above error is 
thrown. Any ideas?		



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message