Hi all,
I'm fairly new to web development so bare with me.
The html page that i've created isn't working and i can't figure out why. I'm guessing there are some rules that need to be followed when putting xml between the <textarea></textarea> tags. The textarea and the submit buttons are located inside <form> tags. When a button is pressed it calls a jsp page to do the processing needed. For some xml content it works nicely....for others i cant get to that jsp that handles processing. No errors are being generated so its making it difficult for me to catch. Here is the html generated (minus the xml):
<html>
<head>
<title>DB Editor</title>
<link REL="stylesheet" Type="text/css" HREF="dbeditor_style.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table bgcolor="#FFFFFF" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<!--Top Application Header-->
<table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="application"> DB EDITOR</td>
<td align="right"><a href="http://www.idsk.com" target="_blank"><img src="images/g_poweredby3.gif" width="145" height="26" alt="Powered By InfoDesk" border="0"></a><img src="images/g_graphic1.gif" width="96" height="34" alt="" border="0"></td>
</tr>
</table>
<table bgcolor="#D5D3DE" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.jsp"><img src="images/b_logout.gif" width="60" height="21" alt="" border="0"></a></td>
<td align="right" width="100%"><img src="images/g_graphic2.gif" width="96" height="21" alt="" border="0"></td>
</tr>
</table>
<table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
</table>
<!--End of Top Application Header-->
<!--Content Area-->
<table border="0" cellspacing="0" cellpadding="0" align="center" valign="top">
<tr><td valign="top" width="600">
<table width="600" border="0" cellspacing="0" cellpadding="0" align="left">
<form action="db3_action.jsp">
<tr>
<td colspan="2" height="30"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td class="sectionhead">Edit Field</td>
<td align="right"><input type="submit" name=update value="Update" height="16" width="34"><input type="submit" name=cancel value="Cancel" height="16" width="34"></td>
</tr>
<tr><td class="rule1" colspan="2" height="1"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td colspan="2" height="10"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td width="125" valign="top"><b>story</b></td><td valign="top"><textarea name="xx" rows="30" cols="40" class="input350"></textarea></td></tr>
<!--<tr><td width="125" valign="top"><b>[field name2]</b></td><td valign="top"><input name="newsid" class="input200" size="25" maxlength="255"></td></tr>-->
</table>
</td>
</tr>
<tr><td colspan="2" height="20"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td class="rule1" colspan="2" height="1"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td colspan="2" height="5"><img src="images/blank.gif" width="1" height="1" border="0"></td>
</tr>
<tr><td colspan="2" align="right"><input type="submit" name=update value="Update" height="16" width="34"><input type="submit" name=cancel value="Cancel" height="16" width="34"></td>
</tr>
</form>
</table>
</td></tr>
</table>
<!--End of Content Area-->
</td></tr>
</table>
Sorry I couldnt include the xml portion. Not sure how much i can post online without getting in trouble. Any ideas?
Lawrence