You could use iframe or ajax ways. I used AjaxPro with.NET and cgi Mapserver and I don't have a single page refresh (everything is updated in background: map, scalebar, legend, query results). If u use Java, I think u coluld try DWR (Direct Web Remoting). Seems to remember that JBox is more suitable to use with Ajax, but try some ways. 
<br><br>Cheers<br>&nbsp;Piero<br><br><div><span class="gmail_quote">2007/7/4, LITTLE Nelson &lt;<a href="mailto:nelson.little@tenix.com">nelson.little@tenix.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="EN-AU">

<div>

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hello Mapserver users,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I have developed a web based mapserver
application using Java Mapscript &amp; Servlets and it works well and looks
great. I currently use the Rosa Applet as the map window display. My application
is very similar in behaviour to the Mapserver Atlas application (AKA gmap) (online:
<a href="http://www.mapsherpa.com/gmap/gmap75.phtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mapsherpa.com/gmap/gmap75.phtml</a>).
</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Whenever the user hits 'Redraw Map'
or clicks on a tool button, it causes the whole pages to be refreshed. My
question is how could this be changed so that only the map window is refreshed,
not the whole page? I know this is an architectural type question which is not really
related to Mapserver, but if anyone would know the answer it would be the
people on this list.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Nelson</span></font></p>

</div>

</div>

</div>


</blockquote></div><br>