This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes Calling XHTML page in jsp. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Calling XHTML page in jsp." Watch "Calling XHTML page in jsp." New topic

Calling XHTML page in jsp.

Khushwinder Chahal
Ranch Hand

Joined: Oct 03, 2007
Posts: 128
Hi All,

I am working on jsf right now and come across a strange problem.
I have developed custom tags in the jsf.

The custom tags are developed and are being used as the XHML pages and they are working fine.
One of my file using custom tag is as follows:


They are working fine but when i am calling these pages in some jsp pages by using any one of the following :

It is not working means its showing the blank page. In the view source page i saw that custom tags are not converting into the html they are coming as it is. But if i try to execute those XHTML pages separately they are changing to html successfully and producing the output.
Please anybody has any idea how to do this?

Would you please give me some idea why this is happening?

I agree. Here's the link:
subject: Calling XHTML page in jsp.
It's not a secret anymore!