p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.x and 2.0 Application Design (http://p2p.wrox.com/forumdisplay.php?f=67)
-   -   Converting an HTML Form to ASP.Net Form (http://p2p.wrox.com/showthread.php?t=50941)

k_alidxb75 November 30th, 2006 03:26 AM

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>


All times are GMT -4. The time now is 02:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.