File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes No getter method for property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method for property" Watch "No getter method for property" New topic

No getter method for property


Joined: Aug 13, 2002
Posts: 15

I am using struts in my .jsp and form bean

In JSP Page
<html:form name="bulletinForm" type='form.BulletinForm' method="post" action="/" scope='session'>
<%-- action name is changed while submitting the form --%>
<html:hidden property="selectedBulletinId"/>

In FormBean

private String selectedBulletinId = null;
public String getSelectedBulletinId() {
return selectedBulletinId;

public void setSelectedBulletinId(String lselBulletinId) {
selectedBulletinId = lselBulletinId;

The same code if i run in tomcat it runs perfectly, But on weblogic and HPUX it is giving the below exception. Please let me know if anybody knows solution about this.

[ServletException in:/pages/body/bulletins.jsp] No getter method for property selectedBulletinId of bean org.apache.struts.taglib.html.BEAN'

Thanks In Advance

[ February 16, 2005: Message edited by: chetandurg ]

Thanks<br />chets
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838


We're pleased to have you here with us here on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Moving to the Struts forum.
I agree. Here's the link:
subject: No getter method for property
jQuery in Action, 3rd edition