jQuery in Action, 3rd edition
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

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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link: http://aspose.com/file-tools
subject: jsf error 500 in tomcat
jQuery in Action, 3rd edition