Skip to content

Instantly share code, notes, and snippets.

package fr.ufrt.searchengine.controllers;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import fr.ufrt.searchengine.models.Item;
import fr.ufrt.searchengine.models.Paper;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<ui:composition template="templates/basic-template.xhtml">
<html>
<head>
...
<script src="js/app.js"></script>
</head>
<body ng-app="adote">