File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to see content

 
Gaurav Ram
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one JSF page and in that i am including other JSF page whos content is this:

As you notice in above code in verbatim tag i have write the string in <> tag....Now the problem is that in main page i am not able to see any content but when i remove <> this from String it works fine.

Can you please tell me that what should i do.
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not sure if i understood your question correctly. But if you are asking why you dont see "Included Page" in your JSP, the reason is that any thing present inside f:verbatim should be a valid HTML.

is not a valid HTML tag. So you dont see the output on the page.

So once you remove <> it works fine.

Ketan
 
Gaurav Ram
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much sir for replying.

Yes sir you said correctly that i am not able to see the data of included page in my main page as it does not have valid HTML, but what should i do if i have to show the data in that format only i.e. <Include Page>

Thanks,
Gaurav
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry shouldnt have used code tag..
nyways use this <Included Page>

Ketan
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry !!
Just view source the "<Included Page>" part and you will realize what i am trying to say.
The site is converting it into HTML and displaying the result.
Hint: use < and > followed by semi colon
I hope it is clear.
Sorry for the confusion.

Ketan
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the Character entity for < and >

Ketan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic