aspose file tools
The moose likes JSF and the fly likes JSF example problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF example problems" Watch "JSF example problems" New topic

JSF example problems

vitesse wei
Ranch Hand

Joined: Sep 07, 2007
Posts: 100
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.

SCJP 5.0<br />SCWCD1.4<br />SCBCD5
Darryl Nortje
Ranch Hand

Joined: Jun 11, 2002
Posts: 140
Hi there vitesse,

Please post your jsp file here.

I'll see if I can help.
vitesse wei
Ranch Hand

Joined: Sep 07, 2007
Posts: 100
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.


and web.xml
V.G. Hindriksen

Joined: Sep 15, 2008
Posts: 9
You need to include the taglib "h", so start your JSP with:
<%@taglib prefix="h" uri=""%>

Yes, the error-message is very cryptic.
I agree. Here's the link:
subject: JSF example problems