File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Cannot find bean: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cannot find bean: "AssetDefinitoinForm" in scope: "request"" Watch "Cannot find bean: "AssetDefinitoinForm" in scope: "request"" New topic
Author

Cannot find bean: "AssetDefinitoinForm" in scope: "request"

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

my mappings
<action
path="/viewAssetDefinitionList"
name="AssetDefinitionForm"
scope="request"
type="com.skandsoft.assetManagement.action.definition.asset.ViewAssetDefinitionListAction"
validate="false">
<forward name="success" path="/jsp/definition/asset/viewAssetDefinitionList.jsp" />
</action>
<action
path="/addAssetDefinition"
input="/jsp/definition/asset/addAssetDefinition.jsp"
name="AssetDefinitionForm"
scope="request"
type="com.skandsoft.assetManagement.action.definition.asset.AddAssetDefinitionAction"
validate="false">
<forward name="addAssetDefinition" path="/jsp/definition/asset/addAssetDefinition.jsp" />
<forward name="success" path="/viewAssetDefinitionList.do" />
</action>


in viewAssetDefinitionList.jsp ,first jsp



in addAssetDefinition.jsp , second jsp


first jsp is working fine second jsp is giving error

Cannot find bean: "AssetDefinitoinForm" in scope: "request"
AssetDefinitionForm is in request scope in the case of first jsp
but not there in the case of second jsp.
both are saem king mappings.



Sudheer
SCWCD, SCJP 5
Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
sudheer kiran wrote:AssetDefinitoinForm


It's a typo...


OCJP 6 (93%)
sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

thank you
Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
You're welcome!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find bean: "AssetDefinitoinForm" in scope: "request"