Hi folks,

I'm trying to set up a database system. My current problem is that some
struts tags do not seem to behave as they should. I have a class

<-<-<-<-<-<- CountryMainForm.java <-<-<-<-<-<-<-<-<-<-<-
public class CountryMainForm extends ActionForm() {
String mode = "" ;
public String getMode() { return mode ; }
public void setMode( String mode ) { this.mode = mode ; }
}
<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-

I also have a JSP page:

<-<-<-<-<-<- CountryMainWeb.jsp <-<-<-<-<-<-<-<-<-<-<-
1. include all necessary taglibs and imports
2.
3. <bean:struts id="ff" formBean="CountryMainForm" />
4. <% Object f = pageContext.findAttribute ( "ff" );
5. System.out.println ( "Form = " + f ); %>
6. <bean:message name="ff" property="mode" />
<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-

This results in the runtime exception:

org.apache.jasper.JasperException: No getter method for property mode of
bean ff

while line 5 outputs

Form =
FormBeanConfig[name=CountryMainForm,type=com.halsolutions.web.base.CountryMainForm]

So is this a bug?!? But what kind of?

All help highly appreciated.

Hajo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to