• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Struts error:- javax.servlet.jsp.JspException: No getter method for property

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We have recently migrated a J2EE Struts(v1.2) 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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am getting the problem with was 7.
Anyone got the solution ??

Is this something related to tiles framework or jar file ?
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Can you post your code.



Regards,
Sriram
 
Ranch Hand
Posts: 46
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Basically this was happen for mismatch the names of the formbean and properties of the 'HTML form' like .


thanks
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi chandi,
we are also facing the same issue when migrated an application from was6.0 to was7, are you able to resolve the issue, if yes, please reply some body

Thanks

chandi prasad wrote:Hi All,
We have recently migrated a J2EE Struts(v1.2) 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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Just wondering if there was any progress on this one? Does anyone have an idea on why properties suddenly "Cant be found"?

cheers
Tristan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic