This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes EL expression not recoggnized Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "EL expression not recoggnized" Watch "EL expression not recoggnized" New topic
Author

EL expression not recoggnized

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
Hi All,

I am trying to render out an input text box for which i have written following code in jsp page

<h:inputText value="#{firstBean.cols}" />

when it is rendered out it is coming as a tect box with #{firstBean.cols} as value inside text box.

Please help me out.


Regards,
Gaurav
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

It sounds like you're using an invalid URL and not being routed to the FacesServlet. In JSF, you can't use the URL of the JSP file itself - you have to set up a URL pattern that routes to the FacesServlet and use that.


Customer surveys are for companies who didn't pay proper attention to begin with.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

How did you mapped your faces in the web.xml? How are you invoking your page?


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: EL expression not recoggnized
 
Similar Threads
extracting HTML form text field value to perl script variable
JTextField not updated from dialog box.
using variable to set textfield
I am getting text box value null when set by javascript
Column Tabbing issue in DataTable