1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
| <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="true"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<SCRIPT>
function f(){
var frm=document.forms.item("acceuilsFB");
frm.DIR.value="HOTEL";
}
function f1(){
var frm=document.forms.item("acceuilsFB");
frm.DIR.value="RESTAURANT";
}
function f2(){
var frm=document.forms.item("acceuilsFB");
frm.DIR.value="STATION";
}
</SCRIPT>
<link rel="stylesheet" type="text/css" media="screen" href="config/default.css" />
<base href="<%=basePath%>">
<title>MPS PFE</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body background="images/background2.jpg" >
<layout:html>
<marquee><p><em><font color="#ffffff"><font size="8" face="cosmic sans Ms, sans-serif"><strong>Welcome to Blue Services</strong></font> </font></em></p></marquee>
<embed hidden="true" loop="false" autostart="true" src="C:\Users\mirrou\Downloads/EXTRAIT-DRBIA.mp3"></embed>
<layout:form action="/acceuilsACT" styleClass="FORM" >
<layout:text mode="N,H,R" property="DIR"/>
<layout:row>
<layout:image property="BUTT" value ="HOTEL" src="images/hotelll.bmp" onclick="f()"/>
<layout:image property="BUTT" value ="RESTAURANT" src="images/restoo.bmp" onclick="f1()"/>
<tr>
<layout:image property="BUTT" value ="STATION DE BUS" src="images/hoppital.bmp" onclick="f2()"/>
</layout:row>
</layout:form>
</layout:html>
</body>
</html> |
Partager