Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No getter method for property

 
chetan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64972
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64972
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic