Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading XML from JSF

 
raghavendra bhat
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to read xml data in java and display it in my jsf form. for that i have written a java program with DOM parser and it displays the xml content in console. But i want to display it in jsf. I tried to make the java in to a managed bean but it shows a error. Then i tried to call managed bean method in my java class and tried to pass the list containing all the value of the xml.. But the managed bean is not avl for my java class. Now tell

How to display the content of a XML which i got in console to my JSF Page. I want to put each and every value in a data table or something like that
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this: http://www.coderanch.com/t/593151/JSF/java/Render-contents-xml-file-jsf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic