jobsubmit.jsp

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
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>Job Submit Center</title>
   
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">   
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

  </head>
 
  <body>
<center><h1>Job Submit Center</h1> </center>

<FORM METHOD="POST" ENCTYPE="multipart/form-data"
ACTION="/Grid_Web/hpc/upload.jsp">
<TABLE class="card">
<TR>
  <TD class="cardtitle" COLSPAN=2>
请输入任务信息</TD>
</TR>


<TR class="cardcontent">
<TD>任务名称:</TD>
<TD><INPUT TYPE="TEXT" NAME="jobname"></TD>
</TR>


<TR class="cardcontent">
<TD>可执行文件路径:</TD>
<TD><INPUT TYPE="TEXT" NAME="jobpath"></TD>
</TR>

<TR class="cardcontent">
<TD>CPU数目:</TD>
<TD><INPUT TYPE="TEXT" NAME="cpunum"></TD>
</TR>

<TR class="cardcontent">
<TD>输出文件:</TD>
<TD><INPUT TYPE="TEXT" NAME="joboutput"></TD>
</TR>

<TR class="cardcontent">
<TD>测试:输入字符串</TD>
<TD><INPUT TYPE="TEXT" NAME="jobstring"></TD>
</TR>

<TR class="cardcontent">
<TD>任务文件:</TD>
<TD><INPUT TYPE="FILE" NAME="jobfile"></TD>
</TR>
<TR>
<TD COLSPAN=2>
<CENTER>
<INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="提交">
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>


  </body>
</html>

你可能感兴趣的:(java,html,jsp)