117 lines
3.6 KiB
Plaintext
117 lines
3.6 KiB
Plaintext
<%@page import = "java.io.*, javax.servlet.*, javax.servlet.http.*, java.util.*, java.io.*, java.net.*"%>
|
|
<%@page import = "java.awt.print.*"%>
|
|
<%@page import = "mnp.database.*,mnp.utility.ui.PageLoader"%>
|
|
<%@page import = "mnp.objects.*, mnp.utility.ui.Res"%>
|
|
<HTML>
|
|
<TITLE>Mnp</TITLE>
|
|
<BODY>
|
|
|
|
|
|
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.RecuperoFSBean"/>
|
|
|
|
|
|
<%
|
|
PageLoader pageLoader = new PageLoader();
|
|
String[] olo = pageLoader.getDestinatario();
|
|
int[] arrTipoFile = null;
|
|
// String[] arrTipoProcesso = pageLoader.getTipoProcesso();
|
|
arrTipoFile = new int[]{-1};
|
|
// String sTipoProcesso = "";
|
|
String sInputFile = "";
|
|
//String sIsDestSceltaMultipla = "";
|
|
//--------------------------------------------------------------------/
|
|
// sTipoProcesso è il valore della combo box cmbTipoProcesso
|
|
// che viene passato al file degli script VerificheScript.txt
|
|
// che a sua volta(dopo aver fatto il submit)lo ritorna x caricare
|
|
// la combo dei tipi file congruenti al tipo processo selezionato.
|
|
//--------------------------------------------------------------------/
|
|
sInputFile = request.getParameter("inputFile")==null?"":request.getParameter("inputFile");
|
|
System.out.println("-- -- -->sInputFile: " + sInputFile);
|
|
|
|
arrTipoFile = pageLoader.getTipoFileForRecuperoFS();
|
|
%>
|
|
|
|
<!-- tabella che include il menu verticale -->
|
|
<table width = "100%">
|
|
<TR><td width = "100%" bgcolor = "#D61414"> </td></TR>
|
|
</table>
|
|
|
|
|
|
<table width = "100%" >
|
|
<tr>
|
|
<td width = "10%">
|
|
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
|
</td>
|
|
<td align = "right" valign = "top" width = "90%">
|
|
<!--fine tabella x menu -->
|
|
<br>
|
|
<br>
|
|
<b><i><P class = "titolo">RECUPERI FUORI STANDARD</P></i></b>
|
|
|
|
|
|
<FORM NAME= "frmSpedisci" ENCTYPE="multipart/form-data" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" onSubmit = "return checkPageSpedisci(this)">
|
|
<!-- dati -->
|
|
<TABLE width = "100%" BORDER= "1" class ="border">
|
|
|
|
|
|
<TR><TD COLSPAN = "2" > </TD></TR>
|
|
<TR>
|
|
<TD><P class = "normale"> Seleziona File XML </P></TD>
|
|
<TD><INPUT TYPE="file" NAME='inputFile' VALUE ='<%=sInputFile%>'></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD><P class = "normale"> Tipo FILE </P> </TD>
|
|
<TD><SELECT NAME= "cmbTipoFile">
|
|
<%for(int i = 0;i<arrTipoFile.length;i++){%>
|
|
<OPTION VALUE = '<%=arrTipoFile[i]%>'>
|
|
<%=pageLoader.tipoFileInt2String(arrTipoFile[i])%>
|
|
</OPTION>
|
|
<%}%>
|
|
</SELECT>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD><P class = "normale"> Destinatario </P> </TD>
|
|
<TD><SELECT NAME= "cmbDestinatario">
|
|
<%for (int i = 0; i <olo.length;i++){
|
|
String sDescrOlo = olo[i];%>
|
|
<OPTION VALUE = '<%=sDescrOlo%>'> <%=sDescrOlo%> </OPTION>
|
|
<%}%>
|
|
</SELECT>
|
|
</TD>
|
|
|
|
</TR>
|
|
<!--
|
|
<TR><TD COLSPAN = "2" > </TD></TR>
|
|
<TR>
|
|
<TD COLSPAN = "2" ><P class = "normale"> Modalità Invio </P> </TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "HTTPS"> HTTPS </P></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN = "2"><P class = "normale"><INPUT TYPE="radio" NAME="selectRadio" VALUE = "FILE" checked> FILE</P></TD>
|
|
</TR>
|
|
-->
|
|
</TABLE>
|
|
<BR>
|
|
|
|
|
|
<!-- pulsanti -->
|
|
<BR><BR><HR class = "riga">
|
|
<TABLE width = "100%">
|
|
<TR>
|
|
<TD ALIGN= "CENTER"><INPUT TYPE= "submit" NAME= "btnGeneraFS" VALUE= " INVIA "></TD>
|
|
<INPUT TYPE="hidden" NAME="pageRecFS">
|
|
</TR>
|
|
</TABLE>
|
|
</FORM>
|
|
<!-- tabella x menu -->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- tabella x menu -->
|
|
</BODY>
|
|
</HTML>
|
|
|