473,290 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,290 software developers and data experts.

XML inside textarea

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):

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>DB Editor</title>
  4. <link REL="stylesheet" Type="text/css" HREF="dbeditor_style.css">
  5. </head>
  6. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  7. <table bgcolor="#FFFFFF" width="100%" border="0" cellspacing="0" cellpadding="0">
  8.     <tr><td valign="top">
  9. <!--Top Application Header-->
  10. <table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
  11.         <tr>
  12.             <td class="application">&nbsp;&nbsp;DB EDITOR</td>
  13.  
  14.             <td align="right"><a href="http://www.idsk.com" target="_blank"><img src="http://bytes.com/images/g_poweredby3.gif" width="145" height="26" alt="Powered By InfoDesk" border="0"></a><img src="http://bytes.com/images/g_graphic1.gif" width="96" height="34" alt="" border="0"></td>
  15.         </tr>
  16.     </table>
  17.     <table bgcolor="#D5D3DE" width="100%" border="0" cellspacing="0" cellpadding="0">
  18.         <tr>
  19.             <td><a href="index.jsp"><img src="http://bytes.com/images/b_logout.gif" width="60" height="21" alt="" border="0"></a></td>
  20.             <td align="right" width="100%"><img src="http://bytes.com/images/g_graphic2.gif" width="96" height="21" alt="" border="0"></td>
  21.         </tr>
  22.     </table>
  23.  
  24.     <table bgcolor="#2A1F55" width="100%" border="0" cellspacing="0" cellpadding="0">
  25.         <tr>
  26.             <td colspan="2"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  27.         </tr>    
  28.     </table>
  29.  
  30.  
  31. <!--End of Top Application Header-->
  32. <!--Content Area-->
  33. <table border="0" cellspacing="0" cellpadding="0" align="center" valign="top">
  34. <tr><td valign="top" width="600">
  35. <table width="600" border="0" cellspacing="0" cellpadding="0" align="left">
  36.     <form action="db3_action.jsp">
  37.  
  38.     <tr>    
  39.         <td colspan="2" height="30"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  40.     </tr>
  41.     <tr>    
  42.         <td class="sectionhead">Edit Field</td>
  43.         <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>
  44.     </tr>
  45.     <tr><td class="rule1" colspan="2" height="1"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  46.     </tr>
  47.  
  48.     <tr><td colspan="2" height="10"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  49.     </tr>
  50.  
  51.         <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>
  52.         <!--<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>-->
  53.     </table>
  54.         </td>
  55.     </tr>
  56.     <tr><td colspan="2" height="20"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  57.     </tr>    
  58.     <tr><td class="rule1" colspan="2" height="1"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  59.  
  60.     </tr>
  61.     <tr><td colspan="2" height="5"><img src="http://bytes.com/images/blank.gif" width="1" height="1" border="0"></td>
  62.     </tr>    
  63.     <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>
  64.     </tr>
  65.     </form>
  66. </table>
  67. </td></tr>
  68. </table>
  69. <!--End of Content Area-->
  70. </td></tr>    
  71. </table>
Sorry I couldnt include the xml portion. Not sure how much i can post online without getting in trouble. Any ideas?

Lawrence
Jun 19 '06 #1
0 3474

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Hal Halloway | last post by:
I want a text editor inside a form's textarea, So I would see html markup and html entities - just like a text editor. I also would want to be able to edit it all just like a text editor - this...
4
by: google | last post by:
I would like to print a table, using a while loop to insert as many blank text fields as players specified by the user. How do I put html inside a php loop. This is what I have.... <body>...
2
by: Asad | last post by:
I have a form on a page that has several textareas, and textboxes inside a table (so the table containing the textboxes is also inside the FORM tag). I want to replace the textareas with simple...
1
by: Hans | last post by:
How do I capture the keycode inside a <textarea> in NN6+ and IE5.5+? I don't want to add add document.keyPress function because I only want this to occure when a specific textarea is selected and...
6
by: wperry1 | last post by:
I am writing a small database utility to catalog all of my favorite ASM/JS/VBS... functions and scripts on an asp page. Everything is going smoothly except for one thing that I can't quite seem to...
2
by: mattrapoport | last post by:
Hello, I am have a div and inside of that div I have a textarea. There is nothing else in the div. The text in the textarea will come from a database so it needs to be able to wrap and grow as...
0
by: lawrenceS59 | last post by:
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...
1
by: den2005 | last post by:
Hi everybody, I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advance. Code working: <form id="form1"...
2
by: lynx129 | last post by:
Hi there , I have php script that works fine under my server but I dont know how to put the html code inside my site. feedback.html <html dir="rtl"> <head> <title> ????? ??? </title>...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.