wood burning stoves 2.0*
The moose likes JSF and the fly likes jsf error 500 in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf error 500 in tomcat" Watch "jsf error 500 in tomcat" New topic
Author

jsf error 500 in tomcat

elisavet egg
Greenhorn

Joined: Nov 05, 2012
Posts: 2
hallo.!
I need some help. I use Apache Tomcat 6.0.35 and i deploy a war.file in the tomcat manager but i get this error

HTTP Status 500 -


description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: /pages/tmhma.xhtml @25,80 value="#{applicationBean.getColumnName(column)}" Failed to parse the expression [#{applicationBean.getColumnName(column)}]
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


please help!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

As I said back in the Tomcat forum, this is improperly-coded EL. EL is not JavaScript, in not a programming language, nor is it JSP-like Java scriptlets.

Here's something that does the job properly:


For this to work properly, however, "column" must be a property on a Managed Bean and "columnName" must be a property such that its getColumnName accessor method returns String[], if the column propety is an int, or must be a Map, if the column property is a String. I'm taking it as a given that you are initializing and incrementing "column" in a Facelets ui:repeat or something similar.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf error 500 in tomcat