zoukankan      html  css  js  c++  java
  • jsp

    <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
        <base href="<%=basePath%>">
        
        <title>My JSP 'addcontidion.jsp' starting page</title>
    <meta http-equiv="pragma" content="no-cache"> 
    <meta http-equiv="cache-control" content="no-cache"> 
    <meta http-equiv="expires" content="0">  
      </head>
              
      <body>
     
            <form action="${pageContext.request.contextPath}/servlet/AddConditionServlet" method="post">
                
            <label>Test Case: format(DA02CO00=Y,DA02CO01=Y)</label></br>
            
              <textarea rows="10" cols="150" name="txtcondition" value="">${tpb.getVarStr}</textarea><br>
            
            <label>please add rule</label></br>
                  
              <textarea rows="25" cols="150" name="txtmscript" value="">${tpb.layout}</textarea>
            <input type="submit" value="submit" name="submit">
    
            </form>   
    
    
      </body>
    </html>
    <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
        <base href="<%=basePath%>">
        
        <title>Code Page</title>
    <meta http-equiv="pragma" content="no-cache"> 
    <meta http-equiv="cache-control" content="no-cache"> 
    <meta http-equiv="expires" content="0">  
      </head>
      
      <body>
          <form action="${pageContext.request.contextPath}/servlet/CodeServlet">
     <center>         
              <label>Add spec text:</label></br>
          
              <textarea rows="35" cols="150" name="testcontext"></textarea><input type="submit" value="submit" id="submit"></br>
          </center>    
          </form>
        
      </body>
    </html>
  • 相关阅读:
    [BZOJ3513] idiots
    2020牛客暑期多校训练营(第六场)A
    2020牛客暑期多校训练营(第六场)J
    2020牛客暑期多校训练营(第六场)H
    2020牛客暑期多校训练营(第六场)G
    2020牛客暑期多校训练营(第六场)K
    组队训练日志 2020.10.05
    Java基础
    Auditd
    Snort记录
  • 原文地址:https://www.cnblogs.com/MarchThree/p/3655507.html
Copyright © 2011-2022 走看看