View Single Post
  #1 (permalink)  
Old November 30th, 2006, 03:26 AM
k_alidxb75 k_alidxb75 is offline
Registered User
 
Join Date: Nov 2006
Location: Dubai, Dubai, United Arab Emirates.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Converting an HTML Form to ASP.Net Form

Hi
  I have a problem I have to integrate with a site running a java engine and to pass certain parameters to it. The third party supporting this enginer have given us an example of doing it in HTML forms and I have to convert it into a APSX page with code behind implementation. This HTML form has an action clause which redirects the control to the URL where the Java Application Engine is running by opening a new window and displaying the result. The parameters are a stored as a value attribute of one of the control. Can someone pls help me and provide me with the code to complete this task thanks. Following is the HTML code for the form

---------------------------------------------------------------------
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY bgColor=#fdf5e6>
<FORM action=http://167.230.22.153:443/servlet/WaatsEngine.WTEngine method=post>
<TABLE>
  <TBODY>
  <TR>
    <TD>GDS Code: </TD>
    <TD><INPUT value=GLL name=GDSCode><BR></TD></TR>
  <TR>
    <TD>Message ID: </TD>
    <TD><INPUT value=" " name=MessageId><BR></TD></TR>
  <TR>
    <TD>Message Type: </TD>
    <TD><INPUT value=INPN name=MessageType><BR></TD></TR>
  <TR>
    <TD>Comments: </TD>
    <TD><INPUT value=" " name=MessageType><BR></TD></TR>
  <TR>
    <TD>Message Text: </TD>
    <TD><INPUT maxLength=3000
      value="<XMLTags></XMLTags>"
      name=MessageText> </TD></TR></TBODY></TABLE><BR><INPUT type=submit value="Submit Request">
</FORM>
<SCRIPT language=JavaScript>
//<!--
   document.forms(0).item(1).focus();
//-->
</SCRIPT>
</BODY>
</HTML>