0
List<RowObject> results = new ArrayList<RowObject>();

I tried the above code from Print the jena result set in html(servlet/jsp) post and got the following error:

RowObject cannot be resolved to a type

I also want to do exactly same as given in the post. Is RowObject a userdefined class ?
If yes,then how to I build it? I am confused regarding this RowObject thing.

Community
  • 1
  • 1
ProgramME
  • 653
  • 3
  • 12
  • 23
  • Please don't remove the original question and reuse the question for something entirely different. It makes existing answers pointless and confusing. Press `Ask Question` button on top to ask new questions. I've rolled back the edit. – BalusC Apr 04 '11 at 17:44

1 Answers1

0

It's just a Javabean class. The classname doesn't matter, as long as it represents its content. And yes, you need to create it yourself.

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • results.nextSolution(); //works fine . while, result.nextSolution() ; gives and error.please tell what to define in the nextSolution method IS results.nextSolution() correct as results is of type ResultSet – ProgramME Apr 04 '11 at 17:35