Exemplo n.º 1
0
  @RequestMapping(value = "/showXml/{xmlIndex}")
  public String showXml(@PathVariable("xmlIndex") int xmlIndex, ModelMap model) {

    XMLParser xmlParser = new XMLParser();
    String xml = xmlParser.parseXmlFile(currentMasterThread.getXmlResults().get(xmlIndex));
    model.addAttribute("xml", xml);
    return "ShowXml";
  }