File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf error 500 in tomcat

 
elisavet egg
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17639
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic