Salome HOME
updated README
[tools/siman.git] / Workspace / Siman / WebContent / error.jsp
index 2b048c18c95f2eaa3ad7c5247e98bb6cf201ad80..92f160fb7cc66338455700c144b0461bac29ea42 100644 (file)
@@ -1,22 +1,14 @@
 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
     pageEncoding="ISO-8859-1"
-%><%@
-    taglib prefix="s" uri="/struts-tags"
 %>
+<%@taglib prefix="s" uri="/struts-tags"%>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<%  String  reason = request.getParameter("error");   
-%>
-<s:set var="reason"><%=reason%></s:set>
-
 <html>
-
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
     <title>SIMAN</title>
   </head>
-
   <body>
-    <s:text name="message.error.%{#reason}"/>
+    <s:text name="%{#parameters.error}"/>
   </body>
-
 </html>
\ No newline at end of file