| Author |
Struts: No getter method for property name problem
|
Saravanan Mrajan
Greenhorn
Joined: Jun 28, 2009
Posts: 18
|
|
David Newton wrote:Not the JSP.
This is jsp
Simple.jsp
|
 |
chandi prasad
Greenhorn
Joined: Dec 10, 2010
Posts: 2
|
|
Hi All,
We have recently migrated a J2EE Struts project from Websphere applicaiton Server 6.0.2.39 to WAS 7.X , After migration when we ran the application,
we are facing a weird struts error on a webpage, which is comming only on WAS 7.X( ie., we have tested this on all WAS 7 FP's( 7.0.0.1 to the very latest 7.0.0.13 ) and on WAS 6.1.X version as well. The same application works perfectly without any errors on WAS 6.0.2.X version.
Below is the Stack trace :-
----------------------------------
Error 500: javax.servlet.jsp.JspException: No getter method for property genericList of bean RegistrationProcessForm
[12/10/10 12:13:07:312 IST] 00000019 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [services_eservicepac] [/services/eservicepac] [/jsp/registrationtablegeneric.jsp]: Initialization successful.
[12/10/10 12:13:07:421 IST] 00000019 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /jsp/registrationtablegeneric.jsp in application services_eservicepac. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: javax.servlet.jsp.JspException: No getter method for property genericList of bean RegistrationProcessForm
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
at com.ibm._jsp._registrationtablegeneric._jspService(_registrationtablegeneric.java:1803)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
Has any one face this kind of problem or any suggestions are greatly appreciated.
Thanks in Advance
chandi
|
 |
Navneet Yadav
Greenhorn
Joined: May 29, 2011
Posts: 3
|
|
Thomas Paul wrote:Try changing the properties to start with a lower case instead of upper case. "username" instead of "UserName".
<td><html:text property="userName" size="16" /></td>
</tr>
<tr>
<td>password</td>
<td><html:text property="passWord" size="16" value="" /></td>
Hey Thanks Dude it works!!! Lotz of time saved
But the question is whether this is some kind of bug???
|
 |
 |
|
|
subject: Struts: No getter method for property name problem
|
|
|