This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes Hoto include JSP page in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Hoto include JSP page in JSF" Watch "Hoto include JSP page in JSF" New topic

Hoto include JSP page in JSF

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208

I am trying to include jsp page in jsf:

But when i try to run my page it gives me following error: Illegal to flush within a custom tag

Can you please suggest me that what should i do.

Sunil Vasudevan
Ranch Hand

Joined: Mar 05, 2007
Posts: 107
Originally posted by ram gaurav:

Hi Ram,

1. I am bit surprised that <f:subview> is working at your end. As far as I remember, f:subview is supposed to have "id" as a mandatory field (SUN JSF RI v1.1).

2. Other than that, what you have done is correct to include a JSP page. Can you paste the page directives you have used in header.jsp?

Sunil.V<br />SCJP2, SCWCD1.4, SCBCD1.3
I agree. Here's the link:
subject: Hoto include JSP page in JSF
It's not a secret anymore!