saverole.jsp

来自「Java开发的权限管理的例子」· JSP 代码 · 共 49 行

JSP
49
字号
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/jsp/common.jsp"%><head>
<link title=Style href="../../common/css/style.css" type=text/css rel=stylesheet>
<title>创建角色</title>
</head>

<html:html locale="true">
<br>
<br>
<html:form action="member/right/saveRole.do" onsubmit="return checkform()">
  <table width="260" height="129" border="0" align="center" bordercolor="#0099FF" class="tableBorder">
    <tr>
      <th colspan="2">创建角色</th>
    </tr>
    <tr>
      <td class="forumRow"><div align="center">name <font color="#ff0000">*</font></div></td>
      <td class="forumRow"><input name="role.name" type="text" value=""></td>
    </tr>
    <tr>
      <td class="forumRow"><div align="center">roleType <font color="#ff0000">*</font></div></td>
      <td class="forumRow"><input name="role.roleType" type="text" value=""></td>
    </tr>
    <tr>
      <td class="forumRow"><div align="center">enabled <font color="#ff0000">*</font></div></td>
      <td class="forumRow">
        <p>
          <label>
            <input type="radio" name="role.enabled" value="1" checked="checked"/>
            有效</label> &nbsp; &nbsp; 
          <label>
            <input type="radio" name="role.enabled" value="0" />
            无效</label>
          <br />
        </p>     </td>
    </tr>
    <tr>
      <td class="forumRow"><div align="center">note</div></td>
      <td class="forumRow"><input name="role.note" type="text" value=""></td>
    </tr>
    <tr>
      <td colspan="2" class="forumRow"><div align="center">        
        <html:submit value="添加"/>
        <html:reset  value="重置"/>
		          
      </div></td>
    </tr>
  </table>
</html:form>
</html:html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?