This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf error 500 in tomcat" Watch "jsf error 500 in tomcat" New topic

jsf error 500 in tomcat

elisavet egg

Joined: Nov 05, 2012
Posts: 2
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.


javax.servlet.ServletException: /pages/tmhma.xhtml @25,80 value="#{applicationBean.getColumnName(column)}" Failed to parse the expression [#{applicationBean.getColumnName(column)}]

please help!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16908

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.
jQuery in Action, 3rd edition
subject: jsf error 500 in tomcat
It's not a secret anymore!