Hi Ipsita,
Have a look at the following ex:
<form-bean
name="TestFormBean"
type="test.FormBeanClass"/>
<action
path="/test"
type="test.ActionClass"
scope="session"
name="TestFormBean"
validate="true">
<forward name="Success" path="/jsp/displaypage.jsp" redirect="false"/>
<forward name="Failure" path="/jsp/error.jsp" redirect="false"/>
</action>
The problem would be at the ActionMapping where you are associating the formBean with
the Action Class.
If you have done that already, you can have a quick check in the jsp whether the form
bean instance is available or not by :
<logic:present name="TestFormBean" scope="session">
<B>Form ref available in Session Scope </B>
</logic:present>
if the form bean is available then do the rest of your processing.
- Prasun
-----Original Message-----
From: Ipsita [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 2:22 PM
To: Struts Users Mailing List
Subject: Definition for form bean
Hi,
I am getting
[
org.apache.jasper.JasperException: Cannot retrieve definition for form
bean null
]
but I have given it in my struts-config.xml
[
<form-beans>
<form-bean
name="loginForm"
type="com.globalRad.LoginForm"/>
</form-beans>
]
the class LoginForm.class exists in the specified directory structure...
Where can I be going wrong? Pls advice.
Thanks!
Ipsita
--
http://www.fastmail.fm - mmm... Fastmail...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]