This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Not able to see content  RSS feed

 
Ranch Hand
Posts: 32
  • 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.
 
Ranch Hand
Posts: 37
  • 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
  • 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
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the Character entity for < and >

Ketan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!