tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neo_deets" <neo_de...@hotmail.com>
Subject Re: Help, submit problems...
Date Thu, 10 Apr 2003 18:37:13 GMT
I hope this helps.  I'm really confused as to what would be the next thing
to look at I have checked the
session-timeout in tomcat and that didn't reproduce the same problem.  I
have switched all the methods from get to post.  I was really hoping someone
would have seen this before.

One of the thoughs I had was that perhase the request for the domByString.js
might not be working on the first click but that seemed really far fetch.
Not to mention the fact that I have no data to support that.

One other thing the location were thes page was being tested was a .mil
domain would that have anything to do with it?

Thanks again.


<html>
<head>
<title>Layer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="expires" CONTENT="Wed, 20 Feb 2000 08:30:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<script src="../../../js/valCheck.js"></script>
<script src="../../../js/formValCheck.js"></script>
<script src="../../../js/domByString.js"></script>
<script language="JavaScript" type="text/javascript">
<!-- Hide from old browsers
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
-->
</script>

<SCRIPT language=JavaScript src="../../../js/scrollbar.js"></SCRIPT>
<SCRIPT language=JavaScript src="../../../js/slidergroup.js"></SCRIPT>
<SCRIPT language=JavaScript src="../../../js/dynlayer.js"></SCRIPT>
<SCRIPT language=JavaScript id="SliderScript">
<!--
var sg = new SliderGroup('groupName', 'form1');
sg.add('slide1', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide2', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide3', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide4', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide5', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide6', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide7', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide8', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide9', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide10', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide11', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide12', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide13', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide14', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide15', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide16', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide17', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide18', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide19', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide20', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide21', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide22', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide23', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide24', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide25', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide26', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.add('slide27', 'slidebarSmall.gif', 50, 16, 'caret_dn2Small.gif', 6, 16,
'../../../images/', 50);
sg.includeCSS();
-->
</script>
<link rel="stylesheet" href="../../../css/USAREC.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000"  topmargin="0" marginheight="0"
onload="addingSliderValues(); sg.activate();
MM_preloadImages('../../../images/submit_hit.gif');" link="#000000"
vlink="#000000" alink="#000000">
<form name="form1" action="Brigades_accession_a_v.html?submit"
method="post">
  <table width="700" border="0" cellspacing="0" background=""
summary="data">
    <tr>
      <td>
     <table width="90%" border="0" summary="data">
          <tr>
            <td>
     <table width="100%" border="0" cellspacing="0" cellpadding="0"
name="table01_back" bgcolor="#386427" summary="data">
                <tr>
                  <td><table width="100%" border="0" cellspacing="1"
cellpadding="3" summary="data">
                      <tr ID="T1R1">
                          <td ID="T1R1C1" colspan="11" class="chartTop"
bgcolor="#779900"><span class="chartTopbold">Recommended
Allocations</span><br>
                            The following are the recommended battalion
contract
                            missions from USAREC. Please note: all these
numbers
                            are displayed in thousands.</td>
                      </tr>
                      <tr ID="T1R2">
                          <td ID="T1R2C1"
class="activeColumnTitle2">&nbsp;</td>
                          <td ID="T1R2C2"
class="activeColumnTitle2">&nbsp;</td>
                          <td ID="T1R2C3" colspan="6"
class="activeColumnTitle2">Mission</td>
                          <td ID="T1R2C4"
class="activeColumnTitle2">&nbsp;</td>
                          <td ID="T1R2C5"
class="activeColumnTitle2">&nbsp;</td>
                        </tr>
                        <tr ID="T1R3">
                          <td ID="T1R3C1" class="activeRowHead1"
height="22">RSID</td>
                          <td ID="T1R3C2" class="activeRowHead1"
height="22">Battalion</td>
                          <td ID="T1R3C3" class="activeColumnTitle1"
height="22">USAREC GA </td>
                          <td ID="T1R3C4" class="activeColumnTitle1"
height="22">Brigade GA</td>
                          <td ID="T1R3C5" class="activeColumnTitle1"
height="22">USAREC SA</td>
                          <td ID="T1R3C6" class="activeColumnTitle1"
height="22">Brigade SA</td>
                          <td ID="T1R3C7" class="activeColumnTitle1"
height="22">USAREC Other</td>
                          <td ID="T1R3C8" class="activeColumnTitle1"
height="22">Brigade Other</td>
                          <td ID="T1R3C9" class="activeColumnTitle1"
height="22">USAREC Total</td>
                          <td ID="T1R3C10" class="activeColumnTitle1"
height="22">Brigade Total</td>
                        </tr>
      <tr ID="T1R4">
                          <td ID="T1R4C1" class="activeRowHead1">1A</td>
                          <td ID="T1R4C2" class="activeRowHead1">Albany</td>
                          <td ID="T1R4C3" class="activeData">1,051</td>
                          <td ID="T1R4C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide1');</script></span><input
type="hidden" id="groupName_slide1"  size="5" value="10"><input type="text"
size="5" value="1051" onblur='addItAll();'></td>
                          <td ID="T1R4C5" class="activeData">426</td>
                          <td ID="T1R4C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide2');</script></span><input
type="hidden" id="groupName_slide2"  size="5" value="10"><input type="text"
size="6" value="426" onblur='addItAll();'></td>
                          <td ID="T1R4C7" class="activeData">596</td>
                          <td ID="T1R4C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide3');</script></span><input
type="hidden" id="groupName_slide3"  size="5" value="10"><input type="text"
size="6" value="596" onblur='addItAll();'></td>
                          <td ID="T1R4C9" class="activeData">2,073</td>
                          <td ID="T1R4C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R5" class="discardMe">
                          <td ID="T1R5C1" class="activeRowHead1">1B</td>
                          <td ID="T1R5C2"
class="activeRowHead1">Baltimore</td>
                          <td ID="T1R5C3" class="activeData">2,152</td>
                          <td ID="T1R5C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide4');</script></span><input
type="hidden" id="groupName_slide4"  size="5" value="10"><input type="text"
size="6" value="2152" onblur='addItAll();'></td>
                          <td ID="T1R5C5" class="activeData">669</td>
                          <td ID="T1R5C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script language=JavaScript>sg.includeSlide
r('slide5');</script></span><input type="hidden" id="groupName_slide5"
size="5" value="10"><input type="text" size="6" value="669"
onblur='addItAll();'></td>
                          <td ID="T1R5C7" class="activeData">1,387</td>
                          <td ID="T1R5C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide6');</script></span><input
type="hidden" id="groupName_slide6"  size="5" value="10"><input type="text"
size="6" value="1387" onblur='addItAll();'></td>
                          <td ID="T1R5C9" class="activeData">4,208</td>
                          <td ID="T1R5C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R6" class="discardMe">
                          <td ID="T1R6C1" class="activeRowHead1">1D</td>
                          <td ID="T1R6C2" class="activeRowHead1">New England
</td>
                          <td ID="T1R6C3" class="activeData">1,063</td>
                          <td ID="T1R6C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide7');</script></span><input
type="hidden" id="groupName_slide7"  size="5" value="10"><input type="text"
size="6" value="1063" onblur='addItAll();'></td>
                          <td ID="T1R6C5" class="activeData">445</td>
                          <td ID="T1R6C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide8');</script></span><input
type="hidden" id="groupName_slide8"  size="5" value="10"><input type="text"
size="6" value="445" onblur='addItAll();'></td>
                          <td ID="T1R6C7" class="activeData">587</td>
                          <td ID="T1R6C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide9');</script></span><input
type="hidden" id="groupName_slide9"  size="5" value="10"><input type="text"
size="6" value="587" onblur='addItAll();'></td>
                          <td ID="T1R6C9" class="activeData">2,095</td>
                          <td ID="T1R6C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R7" class="discardMe">
                          <td ID="T1R7C1" class="activeRowHead1">1E</td>
                          <td ID="T1R7C2"
class="activeRowHead1">Harrisburg</td>
                          <td ID="T1R7C3" class="activeData">861</td>
                          <td ID="T1R7C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide10');</script></span><input
type="hidden" id="groupName_slide10"  size="5" value="10"><input type="text"
size="6" value="861" onblur='addItAll();'></td>
                          <td ID="T1R7C5" class="activeData">421</td>
                          <td ID="T1R7C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide11');</script></span><input
type="hidden" id="groupName_slide11"  size="5" value="10"><input type="text"
size="6" value="421" onblur='addItAll();'></td>
                          <td ID="T1R7C7" class="activeData">478</td>
                          <td ID="T1R7C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide12');</script></span><input
type="hidden" id="groupName_slide12"  size="5" value="10"><input type="text"
size="6" value="478" onblur='addItAll();'></td>
                          <td ID="T1R7C9" class="activeData">1,760</td>
                          <td ID="T1R7C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R8" class="discardMe">
                          <td ID="T1R8C1" class="activeRowHead1">1G</td>
                          <td ID="T1R8C2" class="activeRowHead1">NYC</td>
                          <td ID="T1R8C3" class="activeData">1,869</td>
                          <td ID="T1R8C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide13');</script></span><input
type="hidden" id="groupName_slide13"  size="5" value="10"><input type="text"
size="6" value="1869" onblur='addItAll();'></td>
                          <td ID="T1R8C5" class="activeData">583</td>
                          <td ID="T1R8C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide14');</script></span><input
type="hidden" id="groupName_slide14"  size="5" value="10"><input type="text"
size="6" value="583" onblur='addItAll();'></td>
                          <td ID="T1R8C7" class="activeData">1,446</td>
                          <td ID="T1R8C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide15');</script></span><input
type="hidden" id="groupName_slide15"  size="5" value="10"><input type="text"
size="6" value="1446" onblur='addItAll();'></td>
                          <td ID="T1R8C9" class="activeData">3,898</td>
                          <td ID="T1R8C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R9" class="discardMe">
                          <td ID="T1R9C1" class="activeRowHead1">1K</td>
                          <td ID="T1R9C2"
class="activeRowHead1">Philadelphia</td>
                          <td ID="T1R9C3" class="activeData">1,443</td>
                          <td ID="T1R9C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide16');</script></span><input
type="hidden" id="groupName_slide16"  size="5" value="10"><input type="text"
size="6" value="1443" onblur='addItAll();'></td>
                          <td ID="T1R9C5" class="activeData">527</td>
                          <td ID="T1R9C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide17');</script></span><input
type="hidden" id="groupName_slide17"  size="5" value="10"><input type="text"
size="6" value="527" onblur='addItAll();'></td>
                          <td ID="T1R9C7" class="activeData">881</td>
                          <td ID="T1R9C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide18');</script></span><input
type="hidden" id="groupName_slide18"  size="5" value="10"><input type="text"
size="6" value="881" onblur='addItAll();'></td>
                          <td ID="T1R9C9" class="activeData">2,851</td>
                          <td ID="T1R9C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
      <tr ID="T1R10" class="discardMe">
                          <td ID="T1R10C1" class="activeRowHead1">1L</td>
                          <td ID="T1R10C2"
class="activeRowHead1">Pittsburgh</td>
                          <td ID="T1R10C3" class="activeData">854</td>
                          <td ID="T1R10C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide19');</script></span><input
type="hidden" id="groupName_slide19"  size="5" value="10"><input type="text"
size="6" value="854" onblur='addItAll();'></td>
                          <td ID="T1R10C5" class="activeData">348</td>
                          <td ID="T1R10C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide20');</script></span><input
type="hidden" id="groupName_slide20"  size="5" value="10"><input type="text"
size="6" value="348" onblur='addItAll();'></td>
                          <td ID="T1R10C7" class="activeData">506</td>
                          <td ID="T1R10C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide21');</script></span><input
type="hidden" id="groupName_slide21"  size="5" value="10"><input type="text"
size="6" value="506" onblur='addItAll();'></td>
                          <td ID="T1R10C9" class="activeData">1,708</td>
                          <td ID="T1R10C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
      <tr ID="T1R11" class="discardMe">
                          <td ID="T1R11C1" class="activeRowHead1">1N</td>
                          <td ID="T1R11C2"
class="activeRowHead1">Syracuse</td>
                          <td ID="T1R11C3" class="activeData">876</td>
                          <td ID="T1R11C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide22');</script></span><input
type="hidden" id="groupName_slide22"  size="5" value="10"><input type="text"
size="6" value="876" onblur='addItAll();'></td>
                          <td ID="T1R11C5" class="activeData">408</td>
                          <td ID="T1R11C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide23');</script></span><input
type="hidden" id="groupName_slide23"  size="5" value="10"><input type="text"
size="6" value="408" onblur='addItAll();'></td>
                          <td ID="T1R11C7" class="activeData">497</td>
                          <td ID="T1R11C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide24');</script></span><input
type="hidden" id="groupName_slide24"  size="5" value="10"><input type="text"
size="6" value="497" onblur='addItAll();'></td>
                          <td ID="T1R11C9" class="activeData">1,781</td>
                          <td ID="T1R11C10" class="activeData"><input
type="text" name="textfield523" size="6"  onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr ID="T1R12" class="discardMe">
                          <td ID="T1R12C1" class="activeRowHead1">1O</td>
                          <td ID="T1R12C2"
class="activeRowHead1">Beckley</td>
                          <td ID="T1R12C3" class="activeData">1,007</td>
                          <td ID="T1R12C4" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide25');</script></span><input
type="hidden" id="groupName_slide25"  size="5" value="10"><input type="text"
size="6" value="1007" onblur='addItAll();'></td>
                          <td ID="T1R12C5" class="activeData">363</td>
                          <td ID="T1R12C6" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide26');</script></span><input
type="hidden" id="groupName_slide26"  size="5" value="10"><input type="text"
size="6" value="363" onblur='addItAll();'></td>
                          <td ID="T1R12C7" class="activeData">734</td>
                          <td ID="T1R12C8" class="activeData"><span
onMouseUp="addingSliderValues()"><script
language=JavaScript>sg.includeSlider('slide27');</script></span><input
type="hidden" id="groupName_slide27"  size="5" value="10"><input type="text"
size="6" value="734" onblur='addItAll();'></td>
                          <td ID="T1R12C9" class="activeData">2,104</td>
                          <td ID="T1R12C10" class="activeData"><input
type="text" name="textfield523" size="6" onblur='addItAll();'
readonly="true" class="readOnly"></td>
                        </tr>
                        <tr class="discardMe">
                          <td class="activeRowHead1">&nbsp;</td>
                          <td class="activeRowHead1">Total</td>
                          <td class="activeData">11176</td>
                          <td class="activeData"><input type="text" size="6"
value="10169"  readOnly="true" class="readOnly"></td>
                          <td class="activeData">4190</td>
                          <td class="activeData"><input type="text" size="6"
value="363"  readOnly="true" class="readOnly"></td>
                          <td class="activeData">7112</td>
                          <td class="activeData"><input type="text" size="6"
value="734"  readOnly="true" class="readOnly"></td>
                          <td class="activeData">20734</td>
                          <td class="activeData"><input type="text"
name="textfield523" size="6"  readOnly="true" class="readOnly"></td>
                        </tr>
                        <tr>
        <td colspan="10" class="chartBottom"></td>
      </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
      </table>
    </td>
 </tr>
  </table>
  <table width="700" border="0" cellspacing="0" background=""
summary="data">
    <tr>
      <td>
        <table width="90%" border="0" summary="data">
          <tr>
            <td>
              <table width="100%" border="0" cellspacing="0" cellpadding="0"
name="table01_back" bgcolor="#386427" summary="data">
                <tr>
                  <td>
                   <table width="100%" border="0" cellspacing="1"
cellpadding="1" summary="data">
                    <tr>
                     <td class="chartBottom"><img name="Submit" border="0"
src="../../../images/submit.gif" width="100" height="22" alt="Submit button"
onClick="checkTheValue()" onMouseOut="MM_swapImgRestore()"
onMouseUp="MM_swapImage('Submit','','../../../images/submit_hit.gif',1)"
onMouseOver="MM_swapImage('Submit','','../../../images/submit_on.gif',1)"></
td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
    </td>
     </tr>
      </table>
    </td>
  </tr>
</table>
</form>
</body>
<script language="JavaScript" type="text/javascript">
var num_elements = document.form1.elements.length;
var num_Of_Cols = 7;
var num_Of_Rows = ((num_elements-4)/num_Of_Cols);
//alert(num_Of_Rows)
var domLocation = document.form1.elements
var numberToAdd = 7;
var tdArray = document.getElementsByTagName('td');
//alert(tdArray.length);

function addingSliderValues(){
 totalArray = new Array();
 for(i=0; i <= num_Of_Rows-1; i++){
 //alert(i);
 var grandTotal = 0;
  var location = parseInt(i) * parseInt(numberToAdd);
  for(aSVJ=0; aSVJ<3; aSVJ++){
   var posJ =  aSVJ * 2;
   //alert(posJ);
   domLocation[parseInt(location + posJ + 1)].value =
parseInt(((domLocation[location + posJ].value -10)*.01) *
domLocation[parseInt(location +posJ + 1)].defaultValue) +
parseInt(domLocation[parseInt(location +posJ +  1)].defaultValue);
   var rowTotal = domLocation[parseInt(location + posJ + 1)].value
   grandTotal = grandTotal + parseInt(rowTotal);
  }
  domLocation[parseInt(location+6)].value = grandTotal
 }
 addItAll()
}

//all the columns
function addItAll(){
var superColTotal = 0;
 for(col=0; col<3; col++){
   var colPos = col * 2
     var grandCol = 0;
  for(colT=0; colT<num_Of_Rows; colT++){
   //alert(colT * 7 + 1 + colPos);
      var posColT = parseInt(colT * 7 + 1 + colPos)
   var colTotal = domLocation[posColT].value
   grandCol = grandCol + parseInt(colTotal);
  }
 //alert(grandCol);
 domLocation[parseInt((num_elements-4)+col)].value = grandCol;
 superColTotal = superColTotal + grandCol;
 domLocation[num_elements-1].value = superColTotal;
 }

 for(i=0; i <= num_Of_Rows-1; i++){
  var grandTotal = 0;
  var location = parseInt(i) * parseInt(numberToAdd);
  for(aSVJ=0; aSVJ<3; aSVJ++){
   var posJ =  aSVJ * 2;
   var rowTotal = domLocation[parseInt(location + posJ + 1)].value
   grandTotal = grandTotal + parseInt(rowTotal);
  }
  domLocation[parseInt(location+6)].value = grandTotal
 }

 for(checkM=0; checkM<3; checkM++){
 posCheckM= parseInt(2*checkM);
  if (valChecker(domByNodeValue('Total',
parseInt(1+posCheckM)))<parseInt(domByInputValue('Total',
parseInt(2+posCheckM)))){
       domByInputBackground('Total', parseInt(2+posCheckM), '#FFCC00');
  }
  else {
   domByInputBackground('Total', parseInt(2+posCheckM), '#dcdcdc');
  }
 }
}

function checkTheValue(){
 //alert(domByString('Total'));
 for(checkM=0; checkM<3; checkM++){
 posCheckM= parseInt(2*checkM);
// alert(checkM);
// alert(valChecker(domByNodeValue('Total',
parseInt(2+posCheckM)))<parseInt(domByInputValue('Total',
parseInt(3+posCheckM))));
  if (valChecker(domByNodeValue('Total',
parseInt(1+posCheckM)))<parseInt(domByInputValue('Total',
parseInt(2+posCheckM)))){
       domByInputBackground('Total', parseInt(2+posCheckM), '#FFCC00');
    alert("Please, check your values");
    return;
  }
  else {
   domByInputBackground('Total', parseInt(2+posCheckM), '#dcdcdc');
  }
 }
 formValCheck();
}

//past comments
 //domLocation[parseInt(location+6)].value =
parseInt(domLocation[parseInt(location+1)].value) +
parseInt(domLocation[parseInt(location+3)].value) +
parseInt(domLocation[parseInt(location+5)].value)
</script>
</html>

>
> ----- Original Message -----
> From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 11:40 AM
> Subject: RE: Help, submit problems...
>
>
>
> Howdy,
> Post the complete HTML for the entry page... ;)
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-----Original Message-----
> >From: neo_deets [mailto:neo_deets@hotmail.com]
> >Sent: Thursday, April 10, 2003 12:35 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: Help, submit problems...
> >
> >Hi Jakarta friends-
> >
> >We have a three page system, the first page is the data entry page, the
> >second is conformation, the third is status which shows the data the
> user
> >enter for that "round".
> >
> >I have been working on figuring out why when the user enters all their
> data
> >and click the submit button the page would hang as if it's waiting to
> >submit
> >data.  Then rather then sending the data, the page reloads, leaving the
> >user
> >on the same page (first page) with all the data they entered reset
> >
> >Now here the part that I can understand:  One-  At our location this
> has
> >happend only once or twice, but at the clients location it happened
> almost
> >every time the user submitted data on the  "the first page".  Two- (and
> >this
> >is the most important thing) The second time the usere entered their
> data
> >and clicked submit the data was sent right away!
> >
> >Our user were haveing to enter data once hit submit, watch it fail,
> knowing
> >that it would.  Then re-enter there data knowing it would work the
> second
> >time.
> >
> >The form is using the method="post" and there is a included JavaScript
> that
> >check the form.   If anyone has ever seen anything like this please
> tell
> >me.
> >I have been asking everyone I know and some people I just meet (thanks
> >Vladimer) but no one seems to have any sugestions for me.
> >
> >Best Regards
> >
> >Garrett
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to
> whom it is addressed, and may not be saved, copied, printed, disclosed or
> used by anyone else.  If you are not the(an) intended recipient, please
> immediately delete this e-mail from your computer system and notify the
> sender.  Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message