Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
387 views
in Technique[技术] by (71.8m points)

这个页面的form标签提交地址是什么呀?怎么找不到

<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ page import="java.util.*" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>用户信息</title>
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.2/css/bootstrap.min.css">
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <link rel="stylesheet" href="<c:url value="/styles/jquery.autocomplete.css" />" type="text/css"/>

  </head>
  <body style="padding-top:1em">
    <div class="container">
    <h4 class="col-xs-offset-2" style="padding-left:0.5em;font-weight:bold;margin-bottom:1em;border-bottom:0.1em dotted #c0c0c0">用户信息</h4>
<form:form modelAttribute="webUser" cssClass="form-horizontal" action="save" method="post">
    <form:hidden path="id"/>
    <form:hidden path="address"/>
    <form:hidden path="brief"/>
    <form:hidden path="gender"/>
    <form:hidden path="specialty"/>
    <form:hidden path="degree"/>
    <form:hidden path="telephone"/>
    <form:hidden path="zipcode"/>
    <form:hidden path="country"/>
    <form:hidden path="city"/>
    <form:hidden path="sections"/>
    <form:hidden path="headImage"/>
    <form:hidden path="originalImage"/>
    <form:hidden path="doctorImage"/>
    <form:hidden path="doctorOrigImage"/>
    <form:hidden path="proj_owned"/>
    <form:hidden path="proj_invited"/>
    <form:hidden path="proj_staff"/>
    <form:hidden path="proj_collecting"/>
    <form:hidden path="proj_collected"/>
    <form:hidden path="case_owned"/>
    <form:hidden path="case_shared"/>
    <form:hidden path="case_in_proj"/>
    <form:hidden path="case_in_base"/>
    <form:hidden path="case_disease"/>
    <form:hidden path="img_owned"/>
    <form:hidden path="related_pi"/>
    <form:hidden path="staff_owned"/>
    <form:hidden path="wx_qr_ticket"/>
  <div class="form-group">
    <form:label    for="username" path="username" cssClass="col-xs-3 control-label" cssErrorClass="has-error">用户名</form:label>
    <div class="col-xs-9">
      <form:input path="username" cssClass="form-control" /> <form:errors path="username" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="email" path="email" cssClass="col-xs-3 control-label" cssErrorClass="has-error">email</form:label>
    <div class="col-xs-9">
      <form:input path="email" cssClass="form-control" /> <form:errors path="email" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="true_name" path="true_name" cssClass="col-xs-3 control-label" cssErrorClass="has-error">真实姓名</form:label>
    <div class="col-xs-9">
      <form:input path="true_name"  cssClass="form-control"/> <form:errors path="true_name" />    
    </div>    
  </div>
  <security:authorize access="hasRole('ROLE_SYS')">
  <div class="form-group">
    <form:label    for="raw_pwd" path="raw_pwd" cssClass="col-xs-3 control-label" cssErrorClass="has-error">密码</form:label>
    <div class="col-xs-9">
      <form:input path="raw_pwd"  cssClass="form-control"/> <form:errors path="raw_pwd" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="status" path="status" cssClass="col-xs-3 control-label" cssErrorClass="has-error">可用</form:label>
    <div class="col-xs-9">
      <form:input path="status" cssClass="form-control" /> <form:errors path="status" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="grade" path="grade" cssClass="col-xs-3 control-label" cssErrorClass="has-error">grade</form:label>
    <div class="col-xs-9">
      <form:input path="grade" cssClass="form-control" /> <form:errors path="grade" />    
    </div>    
  </div>
  </security:authorize>
  <div class="form-group">
    <form:label    for="mobile" path="mobile" cssClass="col-xs-3 control-label" cssErrorClass="has-error">手机号</form:label>
    <div class="col-xs-9">
      <form:input path="mobile" cssClass="form-control" /> <form:errors path="mobile" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="title" path="title" cssClass="col-xs-3 control-label" cssErrorClass="has-error">职称</form:label>
    <div class="col-xs-9">
      <form:input path="title" cssClass="form-control" /> <form:errors path="title" />    
    </div>    
  </div>
  
  <div class="form-group">
    <form:label    for="job" path="job" cssClass="col-xs-3 control-label" cssErrorClass="has-error">单位</form:label>
    <div class="col-xs-9">
      <form:input path="job" cssClass="form-control" /> <form:errors path="job" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="sectionsName" path="sectionsName" cssClass="col-xs-3 control-label" cssErrorClass="has-error">科别</form:label>
    <div class="col-xs-9">
      <form:input path="sectionsName" cssClass="form-control" /> <form:errors path="sectionsName" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="profession" path="profession" cssClass="col-xs-3 control-label" cssErrorClass="has-error">职业</form:label>
    <div class="col-xs-9">
      <form:input path="profession" cssClass="form-control" /> <form:errors path="profession" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="order_num" path="order_num" cssClass="col-xs-3 control-label" cssErrorClass="has-error">order_num</form:label>
    <div class="col-xs-9">
      <form:input path="order_num" cssClass="form-control" /> <form:errors path="order_num" />    
    </div>    
  </div>
  <security:authorize access="hasRole('ROLE_SYS')">
  <div class="form-group">
    <form:label    for="global_priv" path="global_priv" cssClass="col-xs-3 control-label" cssErrorClass="has-error">权限</form:label>
    <div class="col-xs-9">
      <form:select path="global_priv" cssClass="form-control">
        <form:option value="1" label="未授权用户" />
        <form:option value="2" label="授权用户"/>
        <form:option value="3" label="科研版用户"/>
        <form:option value="4" label="定制版用户"/>
        <form:option value="9" label="后台管理员"/>
    </form:select>    
    </div>    
  </div>
  </security:authorize>
  <div class="form-group">
    <form:label    for="interest_cnt" path="interest_cnt" cssClass="col-xs-3 control-label" cssErrorClass="has-error">interest_cnt</form:label>
    <div class="col-xs-9">
      <form:input path="interest_cnt" cssClass="form-control" /> <form:errors path="interest_cnt" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="click_cnt" path="click_cnt" cssClass="col-xs-3 control-label" cssErrorClass="has-error">click_cnt</form:label>
    <div class="col-xs-9">
      <form:input path="click_cnt" cssClass="form-control" /> <form:errors path="click_cnt" />    
    </div>    
  </div>
  
  <div class="form-group">
    <form:label    for="wx_title" path="wx_title" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_title</form:label>
    <div class="col-xs-9">
      <form:input path="wx_title" cssClass="form-control" /> <form:errors path="wx_title" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_web_title" path="wx_web_title" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_web_title</form:label>
    <div class="col-xs-9">
      <form:input path="wx_web_title" cssClass="form-control" /> <form:errors path="wx_web_title" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_pic_url" path="wx_pic_url" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_pic_url</form:label>
    <div class="col-xs-9">
      <form:input path="wx_pic_url" cssClass="form-control" /> <form:errors path="wx_pic_url" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_title_pic_url" path="wx_title_pic_url" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_title_pic_url</form:label>
    <div class="col-xs-9">
      <form:input path="wx_title_pic_url" cssClass="form-control" /> <form:errors path="wx_title_pic_url" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_resp_title" path="wx_resp_title" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_resp_title</form:label>
    <div class="col-xs-9">
      <form:input path="wx_resp_title" cssClass="form-control" /> <form:errors path="wx_resp_title" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_resp_desc" path="wx_resp_desc" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_resp_desc</form:label>
    <div class="col-xs-9">
      <form:textarea path="wx_resp_desc" cssClass="form-control" rows="3" /> <form:errors path="wx_resp_desc" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_resp_full_desc" path="wx_resp_full_desc" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_resp_full_desc</form:label>
    <div class="col-xs-9">
      <form:textarea path="wx_resp_full_desc" cssClass="form-control" rows="5" /> <form:errors path="wx_resp_full_desc" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_big_pic_url" path="wx_big_pic_url" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_big_pic_url</form:label>
    <div class="col-xs-9">
      <form:input path="wx_big_pic_url" cssClass="form-control" /> <form:errors path="wx_big_pic_url" />    
    </div>    
  </div>
  <div class="form-group">
    <form:label    for="wx_msg_prefix" path="wx_msg_prefix" cssClass="col-xs-3 control-label" cssErrorClass="has-error">wx_msg_prefix</form:label>
    <div class="col-xs-

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

如果没写,默认就是本页面。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...