| 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: 56177
|
|
"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
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56177
|
|
|
Moving to the Struts forum.
|
 |
 |
|
|
subject: No getter method for property
|
|
|