File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes jsf-tomcat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "jsf-tomcat error" Watch "jsf-tomcat error" New topic
Author

jsf-tomcat error

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: 16020
    
  20

This is not a Tomcat error. It's improperly-coded JSF EL. It can be expected to fail regardless of what J2EE server hosts it.

EL is not supposed to be a "programming language" to begin with, so writing EL as if it was is a bad practice even when done in valid ways. And, as I often point out, putting logic in View definitions is a violation of the MVC Separation of Concerns concept in any event.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
jQuery in Action, 2nd edition
 
subject: jsf-tomcat error