jsp - Bean define error: no getter method found for the property name -



jsp - Bean define error: no getter method found for the property name -

i facing weird error , have used bean:define tag in jsp , property name have used throwing error.

no getter method property: "flatrate3gdataplansenabled" of bean

heres getter , setters in actionform:

private boolean flatrate3gdataplansenabled=false; public boolean isflatrate3gdataplansenabled() { homecoming flatrate3gdataplansenabled; } public void setflatrate3gdataplansenabled(boolean aflatrate3gdataplansenabled) { flatrate3gdataplansenabled = aflatrate3gdataplansenabled; }

heres jsp tag:

<bean:define id="flatrate3gdataplansenabled" name="flatratesmsactionform" property="flatrate3gdataplansenabled" type="java.lang.boolean" />

struts 1.x uses get/set methods access bean properties. rename method to

public boolean getflatrate3gdataplansenabled() { homecoming flatrate3gdataplansenabled; }

jsp properties struts-1

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -