コード例 #1
0
 /**
  * Handles the HTTP <code>GET</code> method.
  *
  * @param request servlet request
  * @param response servlet response
  * @throws ServletException if a servlet-specific error occurs
  * @throws IOException if an I/O error occurs
  */
 @Override
 protected void doGet(HttpServletRequest request, HttpServletResponse response)
     throws ServletException, IOException {
   AboutPage indexAbout = AboutPage.getInstance();
   indexAbout.setPageTeam(true);
   Metadata index_meta = Metadata.getInstance();
   index_meta.setAdditionnalKeywords(" victor kabdebon, webmaster, à propos ");
   indexAbout.setTitle("Victor Kabdebon");
   indexAbout.setIn_Page_Title("VoxNucleus : Victor Kabdebon");
   indexAbout.setMetadata(index_meta);
   PrintVictorKabdebon victorKPrint = PrintVictorKabdebon.getInstance();
   indexAbout.setBodyContent(victorKPrint);
   Browser.sendResponseToBrowser(request, response, indexAbout);
 }
コード例 #2
0
 private void buildHead() {
   about_builder.append(SiteElements.getDoctypeHTML());
   about_builder.append("<head>");
   about_builder.append(SiteDecorations.setFavIcon());
   about_builder.append("<title>").append(title).append("</title>");
   if (about_metadata != null) {
     about_builder.append(about_metadata.getHTMLCode());
   }
   about_builder.append(AboutElements.getAboutBasicElements());
   about_builder.append("</head>");
 }