Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

images

Status
Not open for further replies.

raji96

Programmer
Aug 7, 2001
64
US
I had a html page which I converted to Jsp, when I changed it to jsp the images are loaded very delayed, how do I make sure that the images and the text load at the same time.Right now what is happening is the text on the page is loaded and then the images appear.

<tr><td background=&quot;bg.gif&quot; width=&quot;100&quot;><a href=&quot;index.jsp&quot;><b>Home</b></a></td>
<td rowspan=5><img src=&quot;people2.jpg&quot;></td>
</tr>
<tr>
<td background=&quot;bg.gif&quot; width=&quot;100&quot;><a href=&quot;home2.jsp&quot;>Window1</a></td>
</tr>
<tr><td background=&quot;bg.gif&quot; width=&quot;100&quot;><a href=&quot;home.jsp&quot;>window</a></td>
</tr>
<tr><td background=&quot;bg.gif&quot; width=&quot;100&quot;><a href=&quot;home3.jsp&quot; >Window3</a></td>
</tr>

Thanks!
 
this could be something with your webserver or jsp container...i don't think javascript will be of any help.


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); }
 
Absolutely agree.

If you are accessing your .jsp at the Tomcat (I'm guessing you are using Tomcat) port (8080 by default) then you could look at setting up an HTTP server (like Apache2) to serve the images. Ask around on the Apache or Tomcat boards if you decide to do that.

If you are already using another HTTP server at port 80, then try connecting through port 8080. If things go normally all of aa sudden, then you might look into the configuration of your HTTP server.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top