1234567891011121314151617181920212223242526272829303132 |
- <%@ page contentType="text/html; utf-8" pageEncoding="UTF-8" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>修改品牌</title>
- </head>
- <body>
- <div style="width:400px; margin:0 auto;">
- <h3>修改品牌</h3>
- <form action="${pageContext.servletContext.contextPath}/updateBrand" method="post">
- <input type="hidden" name="id" value="${requestScope.brand.id}">
- 品牌名称:<input name="brandName" value="${requestScope.brand.brandName}"><br>
- 企业名称:<input name="companyName" value="${requestScope.brand.companyName}"><br>
- 排 序:<input name="ordered" value="${requestScope.brand.ordered}"><br>
- 描述信息:<textarea rows="5" cols="20" name="description">${requestScope.brand.description}</textarea><br>
- 状 态:
- <c:if test="${requestScope.brand.status != 1}">
- <input type="radio" name="status" value="2" checked>禁用
- <input type="radio" name="status" value="1">启用<br>
- </c:if>
- <c:if test="${requestScope.brand.status == 1}">
- <input type="radio" name="status" value="2" >禁用
- <input type="radio" name="status" value="1" checked>启用<br>
- </c:if>
- <input type="submit" value="提交">
- </form>
- </div>
- </body>
- </html>
|