• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts: No getter method for property name problem

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

David Newton wrote:Not the JSP.



This is jsp
Simple.jsp
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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???
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if someone is looking for the same error and they don't have the field that's shown in the error in thier JSP just delete your server cache.... follow below for other server's search on web :p

Instructions
JBoss
Clear the JBoss cache with the following steps:

Shut down JBoss if you have not already.
Delete the following folders:
<JBOSS_HOME>/standalone/data
<JBOSS_HOME>/standalone/tmp
Restart JBoss.
Tomcat
Shut down Tomcat if you have not already.
Delete the content in the <APPIAN_HOME>\tomcat\apache-tomcat\work\Catalina\localhost\ directory.
Restart Tomcat.
 
This is my favorite tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic