<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="org.springframework.extensions.surf.*" %>
<%@ page import="org.alfresco.web.site.*" %>
<%@ page import="java.util.Properties" %>
<%
String action = request.getParameter("action");
System.out.println("action: "+action);
String userid = (String)session.getAttribute(SlingshotUserFactory.SESSION_ATTRIBUTE_KEY_USER_ID);
RequestContext context = (RequestContext)request.getAttribute(RequestContext.ATTR_REQUEST_CONTEXT);
System.out.println("context: "+context+" userid: "+userid);
String nom = "";
String prenom = "";
System.out.println("nom1: "+nom+"\nprenom1: "+prenom);
nom = request.getParameter("nom");
prenom = request.getParameter("prenom");
System.out.println("nom: "+nom+"\nprenom: "+prenom);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>test du get parameter</title>
</head>
<body>
<table width="100%" cellspacing="0" style="border: 2px solid #FFFFFF;">
<tr class="header"><th colspan="2"><div class="titre">test du get parameter</div></th></tr>
</table>
<br/>
<form method="POST" action="toto">
<table cellspacing="0" align="center" width="70%">
<tr class="entete"><td colspan="5">ton nom et ton prenom?</td></tr>
<tr class="rubrique"><td>Nom : </td><td><input type="text" value="<%= nom %>" name="nom" size="40"></td>
<tr class="rubrique"><td>prenom : </td><td><input type="text" value="<%= prenom %>" name="prenom" size="40"></td>
<tr class="rubrique"><td colspan="5" align="center"><div class="boutons"><input type="submit" value="Enregistrer"></div></td></tr>
</table>
</form>
</body>
</html>
<?xml version='1.0' encoding='UTF-8'?>
<page>
<title>Accueil</title>
<title-id>page.favorites.title</title-id>
<description>page d'accueil de l'appliation trombino</description>
<description-id>page.directory.description</description-id>
<template-instance>toto</template-instance>
<authentication>user</authentication> <!– none si la page n'a pas besoin d'authentification –>
</page>
<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
<template-type>toto</template-type>
</template-instance>
<?xml version="1.0" encoding="UTF-8"?>
<template-type>
<title>essai landing page template type</title>
<description>essai1 landing page JSP Template Type</description>
<!– Define the rendering processors for this template type –>
<processor mode="view">
<id>jsp</id>
<jsp-path>/intranet/toto.jsp</jsp-path>
</processor>
</template-type>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.