i have an RDF File with FOAF vocabulary, and i want to display the file with a jsp. What do i need for this??
OK i just got the message from the tutor that i must use JSP and Jena...i can create the file and read with servjet&jena, but now is the problem how to show the rdf file with jsp...for example if i have a picture for a person how can i show this with jsp...i can sparql to find all the friends, but dont know how to show them with jsp...for example how to print the result of ResultSetFormatter.out(System.out.r,q) with jsp?? thx in advance for all the tipps
is it a static file ? what can of display do you want ? just echoing the XML ? you don't need the JSP. Just place your RDF file in a public place of your deployment folder. e.g: Deploying just HTML, CSS webpage to Tomcat
'''EDIT''': regarding your comment, I would associate a XSLT stylesheet to the RDF/XML file instead of processing the RDF via tomcat. See the source of my FOAF page: http://lindenb.github.com/foaf.xml