|
Please help you to do what? If you ask a specific question you will stand more chance of getting a useful answer.
|
|
|
|
|
thank you
i using netbean 6.9.1. glassfish in netbean. webservice SOAP.
please help me
nothing
|
|
|
|
|
And what is the error that is being thrown. Only knowing that something throws an exception doesn't really help anyone to give you clues as to how to fix it.
|
|
|
|
|
Please mention error which you getting in your code.
|
|
|
|
|
String action = request.getParameter("action");
String actionTemplate = request.getParameter("actionTemplate");
String tags, tagsKey, tagValue;
int count = 0;
if(action != null){
if(action.equals("Save")){
mt.insertData(request);
Enumeration names = request.getParameterNames();
while(names.hasMoreElements()){
tags = names.nextElement().toString();
if(tags.length()>4){
if(tags.substring(4).startsWith("mf") || tags.substring(4).startsWith("of")){
count = Integer.parseInt(tags.substring(0, tags.indexOf("_")));
tagsKey = tags.substring(4);
tagsKey = tagsKey.substring(2, tagsKey.indexOf("_"));
tagValue = request.getParameter(tags);
if(!tagValue.equals("")){
mt.insertDataTags(count, tagsKey, tagValue, tags);
}
//System.out.println(tagsKey+" == "+tagValue);
}
}
}
System.out.println("Save Entry MT700");
String queue = "";
String strQueue = session.getAttribute("userRoute").toString();
if(strQueue.equals("0")){
queue = "Modification";
}else if(strQueue.equals("1")){
queue = "Verification";
}else if(strQueue.equals("2")){
queue = "Authorization";
}else if(strQueue.equals("3")){
queue = "Text File";
}
out.write("<script language=\"JavaScript\">printMT('MTReport?queue="+queue+"&id="+mt.ambilId2Print()+"','win','800','600','yes','center');</script>");
if(strQueue.equals("3")){
out.write("<script language=\"JavaScript\">location.href='entry.jsp?status=auth&tipe=Authorize/Generate Text&checkbox=3&idCheckbox="+mt.getIdMT()+"';</script>");
}
}
}
if(actionTemplate != null){
if(actionTemplate.equals("Save as Template")){
mt.insertDataTemplate(request);
Enumeration names = request.getParameterNames();
while(names.hasMoreElements()){
tags = names.nextElement().toString();
if(tags.length()>4){
if(tags.substring(4).startsWith("mf") || tags.substring(4).startsWith("of")){
count = Integer.parseInt(tags.substring(0, tags.indexOf("_")));
tagsKey = tags.substring(4);
tagsKey = tagsKey.substring(2, tagsKey.indexOf("_"));
tagValue = request.getParameter(tags);
if(!tagValue.equals("")){
mt.insertDataTags(count, tagsKey, tagValue, tags);
}
}
}
}
}
}
System.out.println("Form Entry MT700");
%>
<%
String status = request.getParameter("status");
if(status != null){
if(status.equals("input") || status.equals("ver") || status.equals("auth") || status.equals("text") || status.equals("template")){
mt.getDataById(request);
}
}
%><!-- <style type="text/css">
input{
text-transform:uppercase;
}
textarea{
text-transform:uppercase;
}
</style> -->
<input type="hidden" id="temp" onclick="" />
<div id="main">
<%
if(status != null){
if(status.equals("input")||status.equals("ver")||status.equals("auth")||status.equals("text")){
%>
<form name="form1" id="form1" method="get" action="entry.jsp" onsubmit="return checkForm();">
<h2 id="mainTitle">Status :
<%
if(status.equals("input")){
out.write("Modification");
}else if(status.equals("ver")){
out.write("Verification");
}else if(status.equals("auth")){
out.write("Authorization");
}else if(status.equals("text")){
out.write("Generated Text");
}
%>
<!--
<select name="statusEntry">
<option value="0" <% if(status.equals("input")){out.write("selected");} %> >Modification</option>
<option value="1" <% if(status.equals("ver")){out.write("selected");} %> >Verification</option>
<option value="2" <% if(status.equals("auth")){out.write("selected");} %> >Authorization</option>
</select>
-->
</h2>
<input name="statusEntry" type="hidden" value="1" />
<input name="status" type="hidden" value="<%= request.getParameter("status") %>" />
<input name="id" type="hidden" value="<%= request.getParameter("id") %>" />
<%
}else if(status.equals("template")){
%>
<form name="form1" id="form1" method="get" action="700_1.jsp" onsubmit="return checkForm();">
<%
}
}else{
%>
<form name="form1" id="form1" method="get" action="700_1.jsp" onsubmit="return checkForm();">
<%
}
%>
<h2 id="mainTitle">MT700_1 FORM</h2>
<p> <a href="javascript:void(0)" onClick="menu_select('header')">Header</a>|<a href="javascript:void(0)" onClick="menu_select('body')">Body</a>|<a href="javascript:void(0)" onClick="menu_select('comment')">Comment</a>
<div id="header" class="menu disable">
<div class="aktif">
<h2 class="header-title">Sender</h2>
<label>Unit</label>
<select name="unit" class="mandatory">
<option value="">none</option>
</select>
<br />
<label>Sender Logical Terminal</label>
<select name="sender_logical_terminal" id="sender_logical_terminal" class="mandatory" onChange="duplicate2Institution('sender_logical_terminal');">
<%= mt.SenderLogicalTerminal() %>
</select>
<br />
<label>Type</label>
<select name="sender_type" id="sender_type" class="mandatory">
<option value="institution">Institution</option>
<option value="department">Department</option>
<option value="individual">Individual</option>
</select>
<br />
<label>Institution</label>
<select name="sender_type_institution" id="sender_type_institution" class="mandatory">
<%= mt.Sender_Institution() %>
</select>
<br />
<h2 class="header-title">Receiver</h2>
<!--<tr><td>
<input type="checkbox" id="alias_box" onclick="mn_alias()" />Alias</td><td><select name="alias" id="alias" style="display:none;" onchange="cek_other('alias');">
<option></option>
<option value="">Other</option>
</select> <input type="text" name="alias_other" id="alias_other" style="display:none" class="mandatory" maxlength="350" />
</td></tr>-->
<label>Type</label>
<select id="receiver_type" name="receiver_type" class="mandatory">
<option value="institution">Institution</option>
<option value="department">Department</option>
<option value="individual">Individual</option>
</select>
<br />
<label>Institution</label>
<!--
<select name="receiver_type_institution" id="receiver_type_institution" class="mandatory" onchange="getBICDetails('receiver_type_institution','address_institution');"><%= mt.Receiver() %></select>
-->
<input type="text" name="receiver_type_institution" id="receiver_type_institution" class="mandatory" value="<%= mt.Receiver() %>" maxlength="11" />
<a href="JavaScript:void(0);" onClick="getBICDetails('receiver_type_institution','address_institution');">Expand</a> <br />
<label>Address Expansion</label>
<textarea name="address_institution" id="address_institution" cols="35" rows="5"><%= mt.ambilBICDetail() %></textarea>
<br />
<h2 class="header-title">Options</h2>
<label>Priority</label>
<select name="priority" class="mandatory">
<option value="N" <% if(mt.getMessagePrior().equals("N")) out.write("selected"); %> >Normal</option>
<option value="U" <% if(mt.getMessagePrior().equals("U")) out.write("selected"); %> >Urgent</option>
</select>
<br />
<label>Monitoring</label>
<select name="monitoring" class="mandatory">
<option value="">N - None</option>
<option value="1" <% if(mt.getDeliveryMonitor().equals("1")) out.write("selected"); %> >1 - Non-Delivery</option>
<option value="2" <% if(mt.getDeliveryMonitor().equals("2")) out.write("selected"); %> >2 - Delivery</option>
<option value="3" <% if(mt.getDeliveryMonitor().equals("3")) out.write("selected"); %> >3 - Full</option>
</select>
<br />
<!--
<tr><td>User PDE</td><td><select name="user_pde"><option value="no">No</option><option value="yes">Yes</option></select></td></tr>
-->
<label>Banking Priority</label>
<input type="text" name="banking_priority" maxlength="4" value="<%= mt.getBankingPriority() %>" />
<br />
<label>MUR</label>
<input type="text" name="mur" maxlength="16" value="<%= mt.getMur() %>" />
<br />
</div>
</div>
<div id="body" class="menu disable">
<div class="aktif">
<div class="mt_tag">
<label class="nocek">MF27</label>
<div id="010_mf27_header" class="mt_header enable">Sequence of Total</div>
<div class="clear"></div>
<div id="010_mf27_detil" class="mt_detil enable">
<label class="nocek">Number (/) Total</label>
<input type="text" name="011_mf27_number_total" id="011_mf27_number_total" class="mandatory" maxlength="3" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "011_mf27_number_total")); %>" />
<br />
</div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF40A</label>
<div id="020_mf40a_header" class="mt_header enable">
<select name="020_mf40a_" id="020_mf40a_" class="mandatory" onchange="cek_other('020_mf40a_')">
<option></option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE")) out.write(" selected"); %> value="IRREVOCABLE">IRREVOCABLE</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE")) out.write(" selected"); %> value="REVOCABLE">REVOCABLE</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE TRANSFERABLE")) out.write(" selected"); %> value="IRREVOCABLE TRANSFERABLE">IRREVOCABLE TRANSFERABLE</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE TRANSFERABLE")) out.write(" selected"); %> value="REVOCABLE TRANSFERABLE">REVOCABLE TRANSFERABLE</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE STANDBY")) out.write(" selected"); %> value="IRREVOCABLE STANDBY">IRREVOCABLE STANDBY</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE STANDBY")) out.write(" selected"); %> value="REVOCABLE STANDBY">REVOCABLE STANDBY</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOC TRANS STANDBY")) out.write(" selected"); %> value="IRREVOC TRANS STANDBY">IRREVOC TRANS STANDBY</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE TRANSFERABLE")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE TRANSFERABLE")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOCABLE STANDBY")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("REVOCABLE STANDBY")||!mt.getDataTagsById(request.getParameter("id"), "020_mf40a_").equals("IRREVOC TRANS STANDBY"))&&!mt.getDataTagsById(request.getParameter("id"), "020_mf40a__other").equals("")) out.write(" selected"); %>>Other</option>
</select>
<input type="text" name="020_mf40a__other" id="020_mf40a__other" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "020_mf40a__other").equals("")){out.write("mandatory");}else{out.write("mandatory disable");} %>" maxlength="24" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "020_mf40a__other")); %>" />
Form of Documentary Credit </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF20</label>
<div id="030_mf20_header" class="mt_header enable">
<input type="text" name="030_mf20_" id="030_mf20_" class="mandatory" maxlength="16" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "030_mf20_")); %>" />
Documentary Credit Number </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'040_of23');" <% if(!mt.getDataTagsById(request.getParameter("id"), "040_of23_").equals("")) out.write("checked"); %> />
OF23</label>
<div id="040_of23_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "040_of23_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="040_of23_" id="040_of23" maxlength="16" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "040_of23_")); %>" />
Reference to Pre-Advice </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'050_of31c');" <% if(!mt.getDataTagsById(request.getParameter("id"), "050_of31c_").equals("")) out.write("checked"); %> />
OF31C</label>
<div id="050_of31c_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "050_of31c_").equals("")){out.write("mt_header enable"); out.write("mt_header disable");} %>">
<input type="text" name="050_of31c_" id="050_of31c" maxlength="6" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "050_of31c_")); %>" onkeypress="return numbersonly(event);" />
Date of Issue (YYMMDD) </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF40E</label>
<div id="060_mf40e_header" class="mt_header enable">Applicable Rules</div>
<div class="clear"></div>
<div id="060_mf40e_detil" class="mt_detil enable">
<label class="nocek">Applicable Rules</label>
<select name="061_mf40e_applicable_rules" id="061_mf40e_applicable_rules" class="mandatory" onchange="cek_other('061_mf40e_applicable_rules')">
<option></option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("EUCP LATEST VERSION")) out.write(" selected"); %> value="EUCP LATEST VERSION">EUCP LATEST VERSION</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("EUCPURR LATEST VERSION")) out.write(" selected"); %> value="EUCPURR LATEST VERSION">EUCPURR LATEST VERSION</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("ISP LATEST VERSION")) out.write(" selected"); %> value="ISP LATEST VERSION">ISP LATEST VERSION</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("OTHR LATEST VERSION")) out.write(" selected"); %> value="OTHR LATEST VERSION">OTHR LATEST VERSION</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("UCP LATEST VERSION")) out.write(" selected"); %> value="UCP LATEST VERSION">UCP LATEST VERSION</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("UCPURR LATEST VERSION")) out.write(" selected"); %> value="UCPURR LATEST VERSION">UCPURR LATEST VERSION</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("EUCP LATEST VERSION")||!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("EUCPURR LATEST VERSION")||!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("ISP LATEST VERSION")||!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("OTHR LATEST VERSION")||!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("UCP LATEST VERSION")||!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules").equals("UCPURR LATEST VERSION"))&&!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules_other").equals("")) out.write(" selected"); %>>Other</option>
</select>
<input type="text" name="061_mf40e_applicable_rules_other" id="061_mf40e_applicable_rules_other" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules_other").equals("")) out.write("mandatory"); out.write("mandatory disable"); %>" maxlength="30" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "061_mf40e_applicable_rules_other")); %>" />
<br />
<label>
<input type="checkbox" onclick="fhid(this,'062_mf40e');" <% if(!mt.getDataTagsById(request.getParameter("id"), "062_mf40e_narrative").equals("")) out.write("checked"); %> />
Narrative</label>
<div id="062_mf40e_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "062_mf40e_narrative").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="062_mf40e_narrative" id="062_mf40e_narrative" maxlength="35" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "062_mf40e_narrative")); %>" />
</div>
</div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF31D</label>
<div id="070_mf31d_header" class="mt_header enable">Date and Place of Expiry</div>
<div class="clear"></div>
<div id="070_mf31d_detil" class="mt_detil enable">
<label class="nocek">Date(YYMMDD) Place</label>
<input type="text" name="071_mf31d_date_place" id="071_mf31d_date_place" maxlength="35" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "071_mf31d_date_place")); %>" class="mandatory" />
</div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'080_of51')" <% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "085_of51d_name_and_address").equals("")) out.write(" checked"); %>/>
OF51</label>
<div id="080_of51_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "085_of51d_name_and_address").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<select id="080_of51" onchange="funselect('080_of51')">
<option></option>
<option value="F51a" <% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic").equals("")) out.write(" selected"); %>>F51A - Applicant Bank - BIC</option>
<option value="F51d"<% if(!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "085_of51d_name_and_address").equals("")) out.write(" selected"); %>>F51D - Applicant Bank - Name & Addr</option>
</select>
</div>
<div class="clear"></div>
<div id="080_of51_a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic").equals("")) {out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'081_of51a_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")) out.write("checked"); %> />
Party Identifier</label>
<div id="081_of51a_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="081_of51a_party_identifier" id="081_of51a_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "081_of51a_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">IdentifierCode</label>
<input type="text" name="082_of51a_bic" id="082_of51a_bic" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic")); %>" maxlength="11" class="mandatory" />
<a href="JavaScript:void(0);" onclick="getBICDetails('082_of51a_bic','083_of51a_bic_detil');">Expand</a> <br />
<label></label>
<textarea id="083_of51a_bic_detil" cols="35" rows="5"></textarea>
<% if(!mt.getDataTagsById(request.getParameter("id"), "082_of51a_bic").equals("")) { %>
<script type="text/javascript">getBICDetails('082_of51a_bic','083_of51a_bic_detil');</script>
<% } %>
<br />
</div>
<div id="080_of51_d_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "085_of51d_name_and_address").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'084_of51d_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")) out.write(" checked"); %>/>
Party Identifier</label>
<div id="084_of51d_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="084_of51d_party_identifier" id="084_of51d_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "084_of51d_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">Name And Address</label>
<textarea name="085_of51d_name_and_address" id="085_of51d_name_and_address" cols="35" rows="5" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "085_of51d_name_and_address")); %></textarea>
<br />
</div>
</div>
<div class="mt_tag">
<label class="nocek">MF50</label>
<div id="090_mf50_header" class="mt_header enable">
<textarea name="090_mf50_" id="090_mf50" cols="35" rows="4" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "090_mf50_")); %></textarea>
Applicant </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF59</label>
<div id="100_mf59_header" class="mt_header enable">Beneficiary - Name & Address</div>
<div class="clear"></div>
<div id="100_mf59_detil" class="mt_detil enable">
<label>
<input type="checkbox" onclick="fhid(this,'101_mf59_account');" <% if(!mt.getDataTagsById(request.getParameter("id"), "101_mf59_account").equals("")) out.write("checked"); %> />
Account</label>
<div id="101_mf59_account_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "101_mf59_account").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="101_mf59_account" id="101_mf59_account" maxlength="35" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "101_mf59_account")); %>" />
</div>
<br />
<label class="nocek">Name And Address</label>
<textarea name="102_mf59_name_and_address" id="102_mf59_name_and_address" cols="35" rows="4" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "102_mf59_name_and_address")); %></textarea>
<br />
</div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF32B</label>
<div id="110_mf32b_header" class="mt_header enable">Currency Code, Amount</div>
<div class="clear"></div>
<div id="110_mf32b_detil" class="mt_detil enable">
<label class="nocek">Currency</label>
<input type="text" name="111_mf32b_currency" id="111_mf32b_currency" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "111_mf32b_currency")); %>" maxlength="3" class="mandatory" onkeypress="return textonly(event);" />
<a href="JavaScript:void(0);" onclick="getCurrencyDetails('111_mf32b_currency','out_111_mf32b_currency');">Expand</a> <span id="out_111_mf32b_currency">
<% if(!mt.getDataTagsById(request.getParameter("id"), "111_mf32b_currency").equals("")) { %>
<script type="text/javascript">getCurrencyDetails('111_mf32b_currency','out_111_mf32b_currency');</script>
<% } %>
</span> <br />
<label class="nocek">Amount</label>
<input type="text" name="112_mf32b_amount" id="112_mf32b_amount" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "112_mf32b_amount")); %>" maxlength="15" class="mandatory" onkeypress="return numbersonly(event,'111_mf32b_currency');" onblur="cek_koma(this)" />
<br />
</div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label>
<input type="checkbox" id="120_of39a" onclick="fhid(this,'120_of39a');" <% if(!mt.getDataTagsById(request.getParameter("id"), "121_of39a_tolerance1_tolerance2").equals("")) out.write(" checked"); %> />
OF39A </label>
<div id="120_of39a_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "121_of39a_tolerance1_tolerance2").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">Percentage Credit Amt Tolerance</div>
<div id="120_of39a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "121_of39a_tolerance1_tolerance2").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label class="nocek">Tolerance1 (/) Tolerance2</label>
<input type="text" name="121_of39a_tolerance1_tolerance2" id="121_of39a_tolerance1_tolerance2" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "121_of39a_tolerance1_tolerance2")); %>" maxlength="5" class="mandatory" />
<br />
</div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'130_of39b')" <% if(!mt.getDataTagsById(request.getParameter("id"), "130_of39b_").equals("")||!mt.getDataTagsById(request.getParameter("id"), "130_of39b_other").equals("")){out.write("checked");} %> />
OF39B
</label>
<div id="130_of39b_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "130_of39b_").equals("")||!mt.getDataTagsById(request.getParameter("id"), "130_of39b_other").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<select id="130_of39b" onchange="cek_other('130_of39b');">
<option value="NOT EXCEEDING" <% if(mt.getDataTagsById(request.getParameter("id"), "130_of39b_").equals("NOT EXCEEDING")) out.write("selected"); %>>NOT EXCEEDING</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "130_of39b_").equals("NOT EXCEEDING"))&&!mt.getDataTagsById(request.getParameter("id"), "130_of39b_other").equals("")) out.write("selected"); %>>Other</option>
</select>
<input type="text" id="130_of39b_other" name="130_of39b_other" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "130_of39b_other")); %>" maxlength="13" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "130_of39b_other").equals("")){out.write("mandatory");}else{out.write("mandatory disable");} %>" />
Maximum Credit Amount </div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="140_of39c" onclick="fhid(this,'140_of39c')" <% if(!mt.getDataTagsById(request.getParameter("id"), "140_of39c_").equals("")) out.write("checked"); %> />
OF39C</label>
<div id="140_of39c_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "140_of39c_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="140_of39c_" id="140_of39c" cols="35" rows="4" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "140_of39c_")); %></textarea>
Additional Amounts Covered </div>
</div>
<div class="clear"></div>
<div class="mt_tag">
<label class="nocek">MF41</label>
<div id="150_mf41_header" class="mt_header enable">
<select id="150_mf41" onchange="funselect('150_mf41')" class="mandatory">
<option></option>
<option value="f41a" <% if(!mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code_other").equals("")) out.write(" selected"); %>>F41A - Available With...By... - BIC</option>
<option value="f41d"<% if(!mt.getDataTagsById(request.getParameter("id"), "154_mf41d_name_and_address").equals("")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code_other").equals("")) out.write(" selected"); %>>F41D - Available With...By... - Name & Addr</option>
</select>
</div>
<div id="150_mf41_a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label class="nocek">IdentifierCode</label>
<input type="text" name="151_mf41a_bic" id="151_mf41a_bic" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic")); %>" maxlength="11" class="mandatory" />
<a href="JavaScript:void(0);" onclick="getBICDetails('151_mf41a_bic','152_mf41a_bic_detil');">Expand</a> <br />
<label></label>
<textarea id="152_mf41a_bic_detil" cols="35" rows="5"></textarea>
<% if(!mt.getDataTagsById(request.getParameter("id"), "151_mf41a_bic").equals("")) { %>
<script type="text/javascript">getBICDetails('151_mf41a_bic','152_mf41a_bic_detil');</script>
<% } %>
<br />
<label class="nocek">Code</label>
<select name="153_mf41a_code" id="153_mf41a_code" onchange="cek_other('153_mf41a_code');" class="mandatory">
<option></option>
<option value="BY ACCEPTANCE" <% if(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY ACCEPTANCE")){out.write("selected");} %>>BY ACCEPTANCE</option>
<option value="BY DEF PAYMENT" <% if(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY DEF PAYMENT")){out.write("selected");} %>>BY DEF PAYMENT</option>
<option value="BY MIXED PYMT" <% if(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY MIXED PYMT")){out.write("selected");} %>>BY MIXED PYMT</option>
<option value="BY NEGOTIATION" <% if(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY NEGOTIATION")){out.write("selected");} %>>BY NEGOTIATION</option>
<option value="BY PAYMENT" <% if(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY PAYMENT")) {out.write("selected");} %>>BY PAYMENT</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY ACCEPTANCE")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY DEF PAYMENT")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY MIXED PYMT")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY NEGOTIATION")||!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code").equals("BY PAYMENT"))&&!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code_other").equals("")) out.write("selected"); %>>Other</option>
</select>
<input type="text" id="153_mf41a_code_other" name="153_mf41a_code_other" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code_other")); %>" maxlength="14" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "153_mf41a_code_other").equals("")){out.write("mandatory");}else{out.write("mandatory disable");} %>" />
<br />
</div>
<div id="150_mf41_d_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "154_mf41d_name_and_address").equals("")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code_other").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label class="nocek">Name And Address</label>
<textarea name="154_mf41d_name_and_address" id="154_mf41d_name_and_address" cols="35" rows="5" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "154_mf41d_name_and_address")); %></textarea>
<br />
<label class="nocek">Code</label>
<select name="155_mf41d_code" id="155_mf41d_code" onchange="cek_other('155_mf41d_code');" class="mandatory">
<option></option>
<option value="BY ACCEPTANCE" <% if(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY ACCEPTANCE")){out.write("selected");} %>>BY ACCEPTANCE</option>
<option value="BY DEF PAYMENT" <% if(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY DEF PAYMENT")){out.write("selected");} %>>BY DEF PAYMENT</option>
<option value="BY MIXED PYMT" <% if(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY MIXED PYMT")){out.write("selected");} %>>BY MIXED PYMT</option>
<option value="BY NEGOTIATION" <% if(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY NEGOTIATION")){out.write("selected");} %>>BY NEGOTIATION</option>
<option value="BY PAYMENT" <% if(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY PAYMENT")) {out.write("selected");} %>>BY PAYMENT</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY ACCEPTANCE")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY DEF PAYMENT")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY MIXED PYMT")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY NEGOTIATION")||!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code").equals("BY PAYMENT"))&&!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code_other").equals("")) out.write("selected"); %>>Other</option>
</select>
<input type="text" id="155_mf41d_code_other" name="155_mf41d_code_other" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code_other")); %>" maxlength="14" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "155_mf41d_code_other").equals("")){out.write("mandatory");}else{out.write("mandatory disable");} %>" />
<br />
</div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="160_of42c" onclick="fhid(this,'160_of42c')" <% if(!mt.getDataTagsById(request.getParameter("id"), "160_of42c_").equals("")) out.write("checked"); %> />
OF42C </label>
<div id="160_of42c_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "160_of42c_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="160_of42c_" id="160_of42c_" cols="35" rows="3" wrap="hard" onkeypress="tooLong(this,105)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "160_of42c_")); %></textarea>
Draft at... </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'170_of42')" <% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "175_of42d_name_and_address").equals("")) out.write(" checked"); %>/>
OF42 </label>
<div id="170_of42_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "175_of42d_name_and_address").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<select id="170_of42" onchange="funselect('170_of42')">
<option></option>
<option value="f42a" <% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic").equals("")) out.write(" selected"); %>>F42A - Drawee - BIC</option>
<option value="f42d"<% if(!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "175_of42d_name_and_address").equals("")) out.write(" selected"); %>>F42D - Drawee - Name & Addr</option>
</select>
</div>
<div class="clear"></div>
<div id="170_of42_a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'171_of42a_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")) out.write("checked"); %> />
Party Identifier </label>
<div id="171_of42a_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="171_of42a_party_identifier" id="171_of42a_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "171_of42a_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">IdentifierCode</label>
<input type="text" name="172_of42a_bic" id="172_of42a_bic" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic")); %>" maxlength="11" class="mandatory" />
<a href="JavaScript:void(0);" onclick="getBICDetails('172_of42a_bic','173_of42a_bic_detil');">Expand</a> <br />
<label></label>
<textarea id="173_of42a_bic_detil" cols="35" rows="5"></textarea>
<% if(!mt.getDataTagsById(request.getParameter("id"), "172_of42a_bic").equals("")) { %>
<script type="text/javascript">getBICDetails('172_of42a_bic','173_of42a_bic_detil');</script>
<% } %>
<br />
</div>
<div id="170_of42_d_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "175_of42d_name_and_address").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'174_of42d_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")) out.write(" checked"); %>/>
Party Identifier </label>
<div id="174_of42d_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="174_of42d_party_identifier" id="174_of42d_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "174_of42d_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">Name And Address</label>
<textarea name="175_of42d_name_and_address" id="175_of42d_name_and_address" cols="35" rows="5" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "175_of42d_name_and_address")); %></textarea>
<br />
</div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="180_of42m" onclick="fhid(this,'180_of42m')" <% if(!mt.getDataTagsById(request.getParameter("id"), "180_of42m_").equals("")) out.write("checked"); %> />
OF42M </label>
<div id="180_of42m_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "180_of42m_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="180_of42m_" id="180_of42m_" cols="35" rows="4" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "180_of42m_")); %></textarea>
Mixed Payment Details </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="190_of42p" onclick="fhid(this,'190_of42p')" <% if(!mt.getDataTagsById(request.getParameter("id"), "190_of42p_").equals("")) out.write("checked"); %> />
OF42P </label>
<div id="190_of42p_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "190_of42p_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="190_of42p_" id="190_of42p_" cols="35" rows="4" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "190_of42p_")); %></textarea>
Deferred Payment Details </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'200_of43p');" <% if(!mt.getDataTagsById(request.getParameter("id"), "200_of43p_").equals("")) out.write("checked"); %> />
OF43P </label>
<div id="200_of43p_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "200_of43p_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="200_of43p_" id="200_of43p" maxlength="35" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "200_of43p_")); %>" />
Partial Shipments </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'210_of43t');" <% if(!mt.getDataTagsById(request.getParameter("id"), "210_of43t_").equals("")) out.write("checked"); %> />
OF43T </label>
<div id="210_of43t_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "210_of43t_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="210_of43t_" id="210_of43t" maxlength="35" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "210_of43t_")); %>" />
Transhipment </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="220_of44a" onclick="fhid(this,'220_of44a')" <% if(!mt.getDataTagsById(request.getParameter("id"), "220_of44a_").equals("")) out.write("checked"); %> />
OF44A </label>
<div id="220_of44a_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "220_of44a_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="220_of44a_" id="220_of44a_" cols="65" rows="2" wrap="hard" onkeypress="tooLong(this,65)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "220_of44a_")); %></textarea>
PI of Tking in Chrg / of Rceipt </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="230_of44e" onclick="fhid(this,'230_of44e')" <% if(!mt.getDataTagsById(request.getParameter("id"), "230_of44e_").equals("")) out.write("checked"); %> />
OF44E </label>
<div id="230_of44e_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "230_of44e_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="230_of44e_" id="230_of44e_" cols="65" rows="2" wrap="hard" onkeypress="tooLong(this,65)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "230_of44e_")); %></textarea>
Port of Loading/Airport of Dep. </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="240_of44f" onclick="fhid(this,'240_of44f')" <% if(!mt.getDataTagsById(request.getParameter("id"), "240_of44f_").equals("")) out.write("checked"); %> />
OF44F </label>
<div id="240_of44f_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "240_of44f_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="240_of44f_" id="240_of44f_" cols="65" rows="2" wrap="hard" onkeypress="tooLong(this,65)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "240_of44f_")); %></textarea>
Port of Dischrge/Airport of Dest. </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="250_of44b" onclick="fhid(this,'250_of44b')" <% if(!mt.getDataTagsById(request.getParameter("id"), "250_of44b_").equals("")) out.write("checked"); %> />
OF44B </label>
<div id="250_of44b_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "250_of44b_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="250_of44b_" id="250_of44b_" cols="65" rows="2" wrap="hard" onkeypress="tooLong(this,65)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "250_of44b_")); %></textarea>
PI of Final Dest/ of Delivery </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'260_of44c');" <% if(!mt.getDataTagsById(request.getParameter("id"), "260_of44c_").equals("")) out.write("checked"); %> />
OF44C </label>
<div id="260_of44c_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "260_of44c_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="260_of44c_" id="260_of44c" maxlength="6" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "260_of44c_")); %>" onkeypress="return numbersonly(event);" />
Latest Date of Shipment (YYMMDD) </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="270_of44d" onclick="fhid(this,'270_of44d')" <% if(!mt.getDataTagsById(request.getParameter("id"), "270_of44d_").equals("")) out.write("checked"); %> />
OF44D </label>
<div id="270_of44d_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "270_of44d_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="270_of44d_" id="270_of44d_" cols="65" rows="6" wrap="hard" onkeypress="tooLong(this,390)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "270_of44d_")); %></textarea>
Shipment Period </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="280_of45a" onclick="fhid(this,'280_of45a')" <% if(!mt.getDataTagsById(request.getParameter("id"), "280_of45a_").equals("")) out.write("checked"); %> />
OF45A </label>
<div id="280_of45a_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "280_of45a_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="280_of45a_" id="280_of45a_" cols="65" rows="100" wrap="hard" onkeypress="tooLong(this,6500)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "280_of45a_")); %></textarea>
Descriptn of Goods &/or Services </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="290_of46a" onclick="fhid(this,'290_of46a')" <% if(!mt.getDataTagsById(request.getParameter("id"), "290_of46a_").equals("")) out.write("checked"); %> />
OF46A </label>
<div id="290_of46a_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "290_of46a_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="290_of46a_" id="290_of46a_" cols="65" rows="20" wrap="hard" onkeypress="tooLong(this,6500)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "290_of46a_")); %></textarea>
Documents Required </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="300_of47a" onclick="fhid(this,'300_of47a')" <% if(!mt.getDataTagsById(request.getParameter("id"), "300_of47a_").equals("")) out.write("checked"); %> />
OF47A </label>
<div id="300_of47a_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "300_of47a_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="300_of47a_" id="300_of47a_" cols="65" rows="20" wrap="hard" onkeypress="tooLong(this,6500)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "300_of47a_")); %></textarea>
Additional Conditions </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="310_of71b" onclick="fhid(this,'310_of71b')" <% if(!mt.getDataTagsById(request.getParameter("id"), "310_of71b_").equals("")) out.write("checked"); %> />
OF71B </label>
<div id="310_of71b_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "310_of71b_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="310_of71b_" id="310_of71b_" cols="35" rows="6" wrap="hard" onkeypress="tooLong(this,210)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "310_of71b_")); %></textarea>
Charges </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="320_of48" onclick="fhid(this,'320_of48')" <% if(!mt.getDataTagsById(request.getParameter("id"), "320_of48_").equals("")) out.write("checked"); %> />
OF48 </label>
<div id="320_of48_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "320_of48_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="320_of48_" id="320_of48_" cols="32" rows="4" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "320_of48_")); %></textarea>
Period for Presentation </div>
<br />
</div>
<div class="mt_tag">
<label class="nocek">MF49</label>
<div id="330_mf49_header" class="mt_header enable">
<select name="330_mf49_" id="330_mf49" class="mandatory" onchange="cek_other('330_mf49')">
<option></option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("CONFIRM")) out.write(" selected"); %> value="CONFIRM">CONFIRM</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("MAY ADD")) out.write(" selected"); %> value="MAY ADD">MAY ADD</option>
<option <% if(mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("WITHOUT")) out.write(" selected"); %> value="WITHOUT">WITHOUT</option>
<option value="" <% if((!mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("CONFIRM")||!mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("MAY ADD")||!mt.getDataTagsById(request.getParameter("id"), "330_mf49_").equals("WITHOUT"))&&!mt.getDataTagsById(request.getParameter("id"), "330_mf49_other").equals("")) out.write(" selected"); %>>Other</option>
</select>
<input type="text" name="330_mf49_other" id="330_mf49_other" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "330_mf49_other").equals("")){out.write("mandatory");}else{out.write("mandatory disable");} %>" maxlength="7" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "330_mf49_other")); %>" />
Confirmation Instructions </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'340_of53')" <% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "345_of53d_name_and_address").equals("")) out.write(" checked"); %>/>
OF53 </label>
<div id="340_of53_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "345_of53d_name_and_address").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<select id="340_of53" onchange="funselect('340_of53')">
<option></option>
<option value="f53a" <% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic").equals("")) out.write(" selected"); %>>F53A - Reimbursing Bank - BIC</option>
<option value="f53d"<% if(!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "345_of53d_name_and_address").equals("")) out.write(" selected"); %>>F53D - Reimbursing Bank - Name & Addr</option>
</select>
</div>
<div class="clear"></div>
<div id="340_of53_a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'341_of53a_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")) out.write("checked"); %> />
Party Identifier </label>
<div id="341_of53a_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="341_of53a_party_identifier" id="341_of53a_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "341_of53a_party_identifier")); %>" maxlength="34" />
</div>
<br />
<label class="nocek">IdentifierCode</label>
<input type="text" name="342_of53a_bic" id="342_of53a_bic" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic")); %>" maxlength="11" class="mandatory" />
<a href="JavaScript:void(0);" onclick="getBICDetails('342_of53a_bic','343_of53a_bic_detil');">Expand</a> <br />
<label></label>
<textarea id="343_of53a_bic_detil" cols="35" rows="5"></textarea>
<% if(!mt.getDataTagsById(request.getParameter("id"), "342_of53a_bic").equals("")) { %>
<script type="text/javascript">getBICDetails('342_of53a_bic','343_of53a_bic_detil');</script>
<% } %>
<br />
</div>
<div id="340_of53_d_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "345_of53d_name_and_address").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'344_of53d_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")) out.write(" checked"); %>/>
Party Identifier </label>
<div id="344_of53d_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="344_of53d_party_identifier" id="344_of53d_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "344_of53d_party_identifier")); %>" maxlength="34" />
</div>
<br />
<label class="nocek">Name And Address</label>
<textarea name="345_of53d_name_and_address" id="345_of53d_name_and_address" cols="35" rows="5" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "345_of53d_name_and_address")); %></textarea>
<br />
</div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="350_of78" onclick="fhid(this,'350_of78')" <% if(!mt.getDataTagsById(request.getParameter("id"), "350_of78_").equals("")) out.write("checked"); %> />
OF78 </label>
<div id="350_of78_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "350_of78_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="350_of78_" id="350_of78_" cols="65" rows="12" wrap="hard" onkeypress="tooLong(this,780)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "350_of78_")); %></textarea>
Instr to Payg/Accptg/Negotg Bank </div>
<br />
</div>
<div class="mt_tag">
<label>
<input type="checkbox" onclick="fhid(this,'360_of57')" <% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "362_of57a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")||!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "367_of57d_name_and_address").equals("")) out.write("checked"); %> />
OF57 </label>
<div id="360_of57_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "362_of57a_bic").equals("")||!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")||!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "367_of57d_name_and_address").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<select id="360_of57" onchange="funselect('360_of57')">
<option></option>
<option value="f57a" <% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "362_of57a_bic").equals("")) out.write("selected"); %> >F57A - 'Advise Through' Bank - BIC</option>
<option value="f57b" <% if(!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")) out.write("selected"); %> >F57B - 'Advise Through' Bank - Location</option>
<option value="f57d" <% if(!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "367_of57d_name_and_address").equals("")) out.write("selected"); %> >F57D - 'Advise Through' Bank - Name & Addr</option>
</select>
</div>
<div class="clear"></div>
<div id="360_of57_a_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'361_of57a_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")) out.write("checked"); %> />
Party Identifier </label>
<div id="361_of57a_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="361_of57a_party_identifier" id="361_of57a_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "361_of57a_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">IdentifierCode</label>
<input type="text" name="362_of57a_bic" id="362_of57a_bic" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "362_of57a_bic")); %>" maxlength="11" class="mandatory" />
<a href="JavaScript:void(0);" onclick="getBICDetails('362_of57a_bic','363_of57a_bic_detil');">Expand</a> <br />
<label></label>
<textarea id="363_of57a_bic_detil" cols="35" rows="5"></textarea>
<% if(!mt.getDataTagsById(request.getParameter("id"), "362_of57a_bic").equals("")) { %>
<script language="javascript">getBICDetails('362_of57a_bic','363_of57a_bic_detil');</script>
<% } %>
<br />
</div>
<div id="360_of57_b_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'364_of57b_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")) out.write("checked"); %> />
Party Identifier </label>
<div id="364_of57b_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="364_of57b_party_identifier" id="364_of57b_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "364_of57b_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label>
<input type="checkbox" onclick="fhid(this,'365_of57b_location')" <% if(!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")) out.write("checked"); %> />
Location </label>
<div id="365_of57b_location_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "365_of57b_location").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="365_of57b_location" id="365_of57b_location" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "365_of57b_location")); %>" maxlength="35" />
</div>
<br />
</div>
<div id="360_of57_d_detil" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")||!mt.getDataTagsById(request.getParameter("id"), "367_of57d_name_and_address").equals("")){out.write("mt_detil enable");}else{out.write("mt_detil disable");} %>">
<label>
<input type="checkbox" onclick="fhid(this,'366_of57d_party_identifier')" <% if(!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")) out.write("checked"); %>/>
Party Identifier </label>
<div id="366_of57d_party_identifier_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<input type="text" name="366_of57d_party_identifier" id="366_of57d_party_identifier" value="<% out.write(mt.getDataTagsById(request.getParameter("id"), "366_of57d_party_identifier")); %>" maxlength="37" />
</div>
<br />
<label class="nocek">Name And Address</label>
<textarea name="367_of57d_name_and_address" id="367_of57d_name_and_address" cols="35" rows="5" class="mandatory" wrap="hard" onkeypress="tooLong(this,140)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "367_of57d_name_and_address")); %></textarea>
<br />
</div>
</div>
<div class="mt_tag">
<label>
<input type="checkbox" id="370_of72" onclick="fhid(this,'370_of72')" <% if(!mt.getDataTagsById(request.getParameter("id"), "370_of72_").equals("")) out.write("checked"); %> />
OF72 </label>
<div id="370_of72_header" class="<% if(!mt.getDataTagsById(request.getParameter("id"), "370_of72_").equals("")){out.write("mt_header enable");}else{out.write("mt_header disable");} %>">
<textarea name="370_of72_" id="370_of72_" cols="35" rows="6" wrap="hard" onkeypress="tooLong(this,210)"><% out.write(mt.getDataTagsById(request.getParameter("id"), "370_of72_")); %></textarea>
Sender to Receiver Information </div>
<br />
</div>
</div>
</div>
<div id="comment" class="menu disable">
<div class="aktif">
<label>Operator Comments</label>
<textarea name="operator_comment" cols="35" rows="10"><%= mt.getComment() %></textarea>
<br />
</div>
</div>
<div>
<%
if(status != null){
if(status.equals("input")){
%>
<input name="mt" type="hidden" value="MT700" />
<input type="submit" name="action" value="Save" />
<input type="button" name="btnDelete" value="Delete" style="text-transform:none" onClick="confirmDelete('entry.jsp?status=<%= request.getParameter("status") %>&id=<%= request.getParameter("id") %>&delete=yes')" />
<input type="button" style="text-transform:none" name="btnBack" value="Back" onClick="history.go(-1);" />
<%
}else if(status.equals("ver")){
%>
<script language="JavaScript">disable();</script>
<input type="button" style="text-transform:none" name="btnMod" value="Send to Modification" onClick="location.href='entry.jsp?status=<%= request.getParameter("status") %>&id=<%= request.getParameter("id") %>&action=Update&statusEntry=0'" />
<input type="button" style="text-transform:none" name="btnAuth" value="Send to Authorization" onClick="location.href='entry.jsp?status=<%= request.getParameter("status") %>&id=<%= request.getParameter("id") %>&action=Update&statusEntry=2';printMT('MTReport?queue=Authorization&id=<%= request.getParameter("id") %>','win','800','600','yes','center');" />
<input type="button" style="text-transform:none" name="btnBack" value="Back" onClick="history.go(-1);" />
<%
}else if(status.equals("auth")){
%>
<script language="JavaScript">disable();</script>
<input type="button" style="text-transform:none" name="btnMod" value="Send to Modification" onClick="location.href='entry.jsp?status=<%= request.getParameter("status") %>&id=<%= request.getParameter("id") %>&action=Update&statusEntry=0'" />
<!--
<input type="button" name="btnVer" value="Send to Verification" onClick="location.href='entry.jsp?status=<%= request.getParameter("status") %>&id=<%= request.getParameter("id") %>&action=Update&statusEntry=1'" />
-->
<input type="button" style="text-transform:none" name="btnText" value="Authorize/Generate Text" onClick="location.href='entry.jsp?status=<%= request.getParameter("status") %>&tipe=Authorize/Generate Text&checkbox=3&idCheckbox=<%= request.getParameter("id") %>'" />
<input type="button" style="text-transform:none" name="btnBack" value="Back" onClick="history.go(-1);" />
<%
}else if(status.equals("text")){
%>
<script language="JavaScript">disable();</script>
<input type="button" style="text-transform:none" name="btnBack" value="Back" onClick="history.go(-1);" />
<%
}else if(status.equals("template")){
%>
<input name="mt" type="hidden" value="MT700" />
<input type="submit" style="text-transform:none" name="action" value="Save" />
<input name="templateName" id="templateName" type="hidden" />
<input name="actionTemplate" id="actionTemplate" type="hidden" />
<input type="button" style="text-transform:none" value="Save as Template" onclick="return openNameTemplate1('templateName', 'actionTemplate');" />
<%
}
}else{
%>
<input name="mt" type="hidden" value="MT700" />
<input type="submit" style="text-transform:none" name="action" value="Save" />
<input name="templateName" id="templateName" type="hidden" />
<input name="actionTemplate" id="actionTemplate" type="hidden" />
<input type="button" style="text-transform:none" value="Save as Template" onclick="return openNameTemplate1('templateName', 'actionTemplate');" />
<!-- onclick="openNameTemplate('nameTemplate.jsp','win','300','110','no','center');" -->
<%
}
%>
</div>
</form>
</p>
</div>
|
|
|
|
|
What on earth is this supposed to be? You have not bothered to format your code to make it readable, you have not asked a question, and you have not given any indication of what your problem might be.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Your code is just black - mine is colorful, has structure and COMMENTS.
This certainly has something to do with your problem.
regards,
Torsten
I never finish anyth...
|
|
|
|
|
Please read the posting guidelines before posting. Nobody is going to answer such a badly presented "question" (it's even not a question, just a badly formated and unreadable code dump).
|
|
|
|
|
what the......... my eyes became dizzy by seeing it
|
|
|
|
|
no text, no question, unformatted code
|
|
|
|
|
You can't digest if you try to eat here like this
|
|
|
|
|
if you have ever tried it successfully, please send me some sample code
find it here:
here[^]
please do provide a sample for servlet/jsp
i am trying it in netbeans 6.7 but netbeans gives error in AAUtils methods and doesnt run the project after implementation.
|
|
|
|
|
Hey!
I'm setting up a tool which leaves my little "java world" and starts or stops some windows processes on a server.
Those processes do hand back some values about their state and various stuff:
SERVICE_NAME: servicename
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x2710
The Code:
private boolean execCommand(final String strService, final String strCommand){
try{
Runtime rt = Runtime.getRuntime();
Process oProcess = rt.exec("sc " + strCommand + " " + strService);
return evaluateResult(oProcess);
}
catch (IOException oException) {
openErrorDialog("Service Command Error",
"The service " + strService + " could not be " + strCommand + "." );
return false;
}
}
private boolean evaluateResult(final Process oProcess) throws IOException {
return true;
}
How do i react to this
Do I have to slice these Strings to get the STATE value - which will be a ugly mess?
Or is this the output of an object? is this return value standardized?
regards,
Torsten
I never finish anyth...
|
|
|
|
|
Not enough coffee - that's all I can give as explanation
The above shown output - of course! - refers to the Service Controller, that I'm currently using for dispatching my commands
!
triple D'oh!
So now I'm gonna get me a coffee and go on
EDIT:
got my coffee - and remembered to reach in a solution:
Service Control @ SS64.com
SC QUERY @ http://technet.microsoft.com
regards
Torsten
I never finish anyth...
modified on Wednesday, December 8, 2010 8:03 AM
|
|
|
|
|
Hi friends,
I am doing a Java application in which i have two .java files (Connect.java and Handler.java).In Connect.java i have a function where i am getting some values from some other Response.java file . Now i need to pass these values as input parameters to a function in Handler.java . Following is my java file.Can any one help me please...? How can i implement my Handler.java file if it has a function handle() which takes in the parameters from Connect.Java as input..?
Connect.java
public class Connect
{
private Response obj_response;
public String UserId;
public String LocationIpAddress;
public String PassWord;
public Connect(Response p_response)
{
obj_response=p_response;
}
public Response handleConnect()
{
try
{
String UserId=obj_response.getUserId();
String LocationIpAddress=obj_response.getLocationIpAddress(); String PassWord=obj_response.getPassWord();
}
catch(IOException e)
{
System.out.println("IO Exception");
}
return null;
}
}
modified on Tuesday, December 7, 2010 7:07 AM
|
|
|
|
|
did i miss some? or is it about the method handle() - which takes no arguments? in this case - override or modify it.
by the way - why do you start variables with a capital letter?
regards,
Torsten
I never finish anyth...
|
|
|
|
|
I have a Handler.java class in which i need to use a function handler() which should take in the parameters from Connect.java file's method handleConnect() as input .Also handleConnect() return type is a class(Response)I dont know how to accomplish that..?can u please help me and also explain how is that to be done.?
|
|
|
|
|
|
Ah - now I see what you mean (or at least I think I do so).
You fault was not to follow simple rules. Use the naming conventions - use Checkstyle.
If you do so, you will realize, that Response is a typ of object and not a variable. You need to differ between what is a name of a variable/member (starts with lower character) and what is a type (starts with upper character).
So if you write your method handle() in class Handler like this:
public void handle(final Response aResponse){
}
...it should do the job. Then you can use the Object Response and squeeze your info from it.
regards
Torsten
I never finish anyth...
|
|
|
|
|
Function handle() needs to be rewritten as handle(function arguments here) . Perhaps you have not explained your problem too clearly.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
hi all.
I using netbean 6.9.1 and using web(GlassFish). but when run web, it error ==> "glassfish server 3 start failed"
please help me
thanks
nothing
|
|
|
|
|
most servers have a log file. Did you look for it?
|
|
|
|
|
did you checked that there is no other server or program which is using same port as your glassfish, besides as a tip glassfish is stupid ,it gives problem many times or you can say its still incomplete or buggy, better use tomcat(not installer for netbeans) or sun java application server.
|
|
|
|
|
If you take a look to Server Tab in NetBeans IDE, probably you'll find that needs an inexistent file into ../domains/domain1 folder. Try to start it from IDE without any project (Start Server) or manually from <<install_dir>>/glassfish/bin/startserv.
Best Regards
|
|
|
|
|
May be that you are having another server listening on the same port. Stop other services on the port and then start the GlassFish server. If there is no other problem it should run cool.
|
|
|
|
|