A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Form Bean does not exist?!!
Joined: Mar 04, 2005
Oct 03, 2005 11:43:00
Can anyone help me out here?
Below is a
config file of one of the modules. WSAD keeps telling me that Form Bean baseForm does not exist. But apparently I declared "baseForm" in <form-beans> part.
Can anybody tell me what I am doing wrong here?
Thanks so much.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "struts-config_1_2.dtd"> <struts-config> <!-- Data Sources --> <data-sources> </data-sources> <!-- Form Beans --> <form-beans> <form-bean name="baseForm" type="com.xxx.xxx.framework.controller.actionform.BaseActionForm" /> </form-beans> <!-- Global Exceptions --> <global-exceptions> </global-exceptions> <!-- Global Forwards --> <global-forwards> </global-forwards> <!-- Action Mappings --> <action-mappings> <action path="home" type="com.xxx.xx.framework.controller.action.BaseAction" name="baseForm" scope="request" validate="true"> <forward name="success" path="/samplemodule/sample.jsp" contextRelative="true" /> </action> </action-mappings> <!-- Message Resources --> <message-resources parameter="com.xxx.xxx.samplemodule.ApplicationResources"/> </struts-config>
Joined: Apr 14, 2005
Oct 03, 2005 13:00:00
if it's a simple WSAD warning (yellow wiggly line), ignore it. your app should still run. you can turn off struts validation alltogether to get rid of the warning.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Joined: Mar 04, 2005
Oct 04, 2005 07:17:00
Thanks alan. As you said, it's just a WSAD warning. My applicatin runs smoothly without any problem.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Form Bean does not exist?!!
struts-config.xml file errors
struts1 application: error in struts-config.xml
not able to deploy
Struts message bundle problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015