Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@page import="JavaBeans.ProductList"%>
- <%@page import="java.util.Locale"%>
- <%@page import="java.util.ResourceBundle"%>
- <%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
- <%@ taglib prefix="f" uri="/WEB-INF/tag1.tld" %>
- <%@page isELIgnored="false"%>
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <head>
- <!--Обработка GET-параметров: установка языка.-->
- <c:if test="${empty sessionScope.locale}">
- <fmt:setLocale value="ru"/>
- </c:if>
- <c:if test="${not empty param.russian}">
- <fmt:setLocale value="ru"/>
- </c:if>
- <c:if test="${not empty param.english}">
- <fmt:setLocale value="en"/>
- </c:if>
- <c:if test="${not empty param.german}">
- <fmt:setLocale value="de"/>
- </c:if>
- <fmt:setBundle basename="Properties/message"/>
- <jsp:include page="Header.jsp"/>
- <link rel='stylesheet' href='Styles/styles.css' type='text/css' media='screen'/>
- </head>
- <body>
- ${pageContext.servletContext.log("Autorization...")}
- <form class = 'form-4' action="j_security_check" method="POST">
- Username:<input type="text" name="j_username"/><br>
- Password:<input type="password" name="j_password"/>
- <input type="submit" value="Login"/>
- </form>
- </dody>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement