We are using response.sendRedirect() to refresh a jsp page by redirecting to
itself. When the page is redirected to itself, a portion of the static html
code is not completely loaded.  Below is the portion of the html code.  If
we remove 5 lines of code eg: some option values.the page loads completely
and everything works properly!  We suspect that there is some sort of
buffer/memory issue with Tomcat.  Please help, have tried on 2 versions of
tomcat: 4.1.31 and 5.5.7 on redhat fedora core 3.

 

                            <td>
<SELECT name="myLine" >

 
<OPTION SELECTED value=<% out.println(jMyLine); %> > <%
out.println(jMyLine); %>

 
<OPTION value="Unknown">Unknown 

 
<OPTION value="0">0 

 
<OPTION value="5">5 

 
<OPTION value="10">10 

 
<OPTION value="15">15 

 
<OPTION value="20">20 

 
<OPTION value="25">25 

 
<OPTION value="30">30 

 
<OPTION value="40">40 

 
<OPTION value="50">50 

 
<OPTION value="60">60 

 
<OPTION value="70">70 

 
<OPTION value="80">80 

 
<OPTION value="90">90 

 
<OPTION value="100">100 

 
<OPTION value="125">125 

 
<OPTION value="150">150 

 
<OPTION value="175">175 

 
<OPTION value="200">200 

 
<OPTION value="225">225 

 
<OPTION value="250">250 

 
<OPTION value="275">275 

 
<OPTION value="300">300 

 
<OPTION value="350">350 

 
<OPTION value="400">400 

 
<OPTION value="450">450 

 
</SELECT>

                           </td>                            

                           

                            <td> <input type="submit"
value=<%out.println(submitButtonName); %> name="mySubmit"> </font> </td>

                            <td> <input type="submit" value=<%
out.println(clearButtonName); %> name="reset">    </font> </td>

 

Thanks,

Kris

Reply via email to