tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A.L." <amoslie...@yahoo.com>
Subject Re: Re[2]: Servlet Runs SLow
Date Wed, 15 Aug 2001 16:42:07 GMT
Jonathan,

Attached are the servlet and object files
i'm new to Java, so my design may be poor.  Let me
know if you have any questions.

Thanks,
   -Amos

--- Jonathan Pierce <Jonathan_Pierce@seagram.com>
wrote:
> The problem is probably something you are doing in
> your servlet. 
> Try hitting the /examples/servlet/SnoopServlet in
> your action instead of your
> /jd/Calendar call and see if it is fast.
> 
>  If you want, send me the source to your servlet and
> I'll take a look at what
> you are doing that Netscape is sensitive to. 
> 
> Perhaps you are not flushing the output stream in
> your response.
> 
> ____________________Reply
> Separator____________________
> Subject:    Re: Servlet Runs SLow
> Author: tomcat-user@jakarta.apache.org
> Date:       8/15/2001 9:10 AM
> 
> Sorry, I'm out of ideas.  The servlets I'm working
> on work fine in both
> Netscape and IE.  You may want to try to collect
> some more information
> (log begin/end times in the servlet, use a network
> monitor to see what
> is happening, try different Netscape settings) and
> see if anything
> unusual is happening.
> 
> Jim
> 
> --- "A.L." <amoslieber@yahoo.com> wrote:
> > The first time I load the page in Netscape
> everything
> > seems fine,  it loads almost instantaneously. 
> > However, when I submit the query to change the
> month
> > calendar, netscape takes a while to reload the
> page
> > and show the new calendar.  I can see that TOmcat
> > receives the request immediately, and I assume
> that
> > since Netscape appears to be loading it receives
> the
> > response immediatley.
> > 
> > Thanks,
> >   -Amos
> > 
> > 
> > --- Jim Seach <jwseach@yahoo.com> wrote:
> > > I copied the html into a static file and was
> able to
> > > bring it up
> > > immediately in Netscape 4.76, so it doesn't
> appear
> > > to be the contents
> > > of the form that is the problem.
> > > 
> > > Does it take a long time to display, or does it
> just
> > > not appear to
> > > finish loading?  I have also noticed that
> sometimes
> > > even after the page
> > > has loaded, Netscape still appears to be
> working. 
> > > So far, I have just
> > > ignored it.
> > > 
> > > Jim
> > > 
> > > --- "A.L." <amoslieber@yahoo.com> wrote:
> > > > Below is the code that is returned:
> > > > 
> > > > It seems that Netscape might have problems
> with
> > > the
> > > > FORM data.  It does seem as if the server is
> > > sending
> > > > the reponse immediately.  Or maybe it is
> having
> > > > trouble with the javascript functions... Any
> > > > suggestions
> > > > 
> > > > (I am only running TOmcat by the way)
> > > > 
> > > > 
> > > > 
> > > > <html>
> > > > <head>
> > > > <title>Calendar</title>
> > > > </head>
> > > > <BODY BGCOLOR="#FDF5E6">
> > > > <FORM METHOD=POST ACTION="/jd/Calendar">
> > > > <SELECT NAME="dates" MULTIPLE>
> > > > <OPTION VALUE="Jan"> January </OPTION>
> > > > <OPTION VALUE="Feb"> February</OPTION>
> > > > <OPTION VALUE="Mar"> March</OPTION>
> > > > <OPTION VALUE="Apr"> April</OPTION>
> > > > <OPTION VALUE="May"> May</OPTION>
> > > > <OPTION VALUE="June"> June</OPTION>
> > > > </SELECT>
> > > > <INPUT TYPE=SUBMIT>
> > > > </FORM>
> > > > March2001<form METHOD=GET
> > > > NAME="date2"ACTION="/jd/Calendar"><input
> > > type=hidden
> > > > NAME="d"><script
> language="JavaScript">function
> > > > choose(n){document.date2.d.value =
> > > >
> > >
> >
>
n;document.date2.submit();}</script><table><tr><td></td><td></td><td></td><td></
> td><td><a
> > > > href="javascript:choose(1)">1</a></td><td><a
> > > > href="javascript:choose(2)">2</a></td><td><a
> > > >
> > >
> >
>
href="javascript:choose(3)">3</a></td></tr><tr><td><a
> > > > href="javascript:choose(4)">4</a></td><td><a
> > > > href="javascript:choose(5)">5</a></td><td><a
> > > > href="javascript:choose(6)">6</a></td><td><a
> > > > href="javascript:choose(7)">7</a></td><td><a
> > > > href="javascript:choose(8)">8</a></td><td><a
> > > > href="javascript:choose(9)">9</a></td><td><a
> > > >
> > >
> >
>
href="javascript:choose(10)">10</a></td></tr><tr><td><a
> > > > href="javascript:choose(11)">11</a></td><td><a
> > > > href="javascript:choose(12)">12</a></td><td><a
> > > > href="javascript:choose(13)">13</a></td><td><a
> > > > href="javascript:choose(14)">14</a></td><td><a
> > > > href="javascript:choose(15)">15</a></td><td><a
> > > > href="javascript:choose(16)">16</a></td><td><a
> > > >
> > >
> >
>
href="javascript:choose(17)">17</a></td></tr><tr><td><a
> > > > href="javascript:choose(18)">18</a></td><td><a
> > > > href="javascript:choose(19)">19</a></td><td><a
> > > > href="javascript:choose(20)">20</a></td><td><a
> > > > href="javascript:choose(21)">21</a></td><td><a
> > > > href="javascript:choose(22)">22</a></td><td><a
> > > > href="javascript:choose(23)">23</a></td><td><a
> > > >
> > >
> >
>
href="javascript:choose(24)">24</a></td></tr><tr><td><a
> > > > href="javascript:choose(25)">25</a></td><td><a
> > > > href="javascript:choose(26)">26</a></td><td><a
> > > > href="javascript:choose(27)">27</a></td><td><a
> > > > href="javascript:choose(28)">28</a></td><td><a
> > > > href="javascript:choose(29)">29</a></td><td><a
> > > > href="javascript:choose(30)">30</a></td><td><a
> > > >
> > >
> >
>
href="javascript:choose(31)">31</a></td></tr></FORM></table>
> > > > <TABLE>
> > > > <TR><TH>First_Name</TR>
> > > > <TR><TD>Amos</TR>
> > > > <TR><TD>Jeff</TR>
> > > > <TR><TD>Steve</TR>
> > > > <TR><TD>Cathy</TR>
> > > > <TR><TD>Patricia</TR>
> > > > <TR><TD>Cary</TR>
> > > > <TR><TD>Tom</TR>
> > > > </TABLE>
> > > > 
> > > > </body>
> > > > </html>
> > > > 
> > > > --- Jim Seach <jwseach@yahoo.com> wrote:
> > > > > I agree - it's worth looking at the client. 
> Do
> > > you
> > > > > have any large
> > > > > tables?  I have had problems in the past
> with
> > > > > Netscape taking a long
> > > > > time (> 5 min) to load tables with several
> > > thousand
> > > > > rows.
> > > > > 
> > > > > Jim
> > > > > 
> > > > > --- Denis Haskin <Denis@HaskinFerguson.net>
> > > wrote:
> > > > > > Do you know for sure the difference in
> 'load'
> > > time
> > > > > is at the server,
> > > > > > and 
> > > > > > not at the client?  What's the content
> coming
> > > back
> > > > > from the server? 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Mime
View raw message