This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15629
    
  15

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jsf-tomcat error
 
Similar Threads
Need the techinical help for running sample struts program using Myeclipse5.1.1
Problem about Filter.
Tomcat newbie
How to put the WSDL location on Eclipse's Web service explorer?
Tomcat newbie plz help