Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF example problems

 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,all
I am new to JSF,when I started JSF example,and deploy it to tomcat 6.0,then I access from IE,i get a error like "#{..} is not allowed",
I find many materials said EL in JSF use "#",not "$",even if I change # to $,my page is not rended in IE.why?
anybody give some advices for this.
thanks!

 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there vitesse,

Please post your jsp file here.

I'll see if I can help.
 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply,Darryl
here is my code,
this is first jsp file(page1.jsf),second jsp file(page2.jsf) is a empty page to display result,which i did post here.

face-config.xml

and web.xml
 
V.G. Hindriksen
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to include the taglib "h", so start your JSP with:
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

Yes, the error-message is very cryptic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic