Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL expression not recoggnized

 
Kumar Gaurav
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Posts: 18367
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you mapped your faces in the web.xml? How are you invoking your page?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic