Meaningless Drivel is fun!*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method for property" Watch "No getter method for property" New topic
Author

No getter method for property

chetan
Greenhorn

Joined: Aug 13, 2002
Posts: 15
HI,

I am using struts in my .jsp and form bean

In JSP Page
-------------
<html:form name="bulletinForm" type='form.BulletinForm' method="post" action="/submitBulletins.do" 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.

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

Thanks In Advance

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

Thanks<br />chets
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60048
    
  65

"chetandurg",

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.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60048
    
  65

Moving to the Struts forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No getter method for property
 
Similar Threads
Problem with Nested forms in struts
problem in showing data on page after database retrival
No getter method Error
New to struts, please help
Struts: No getter method for property name problem