• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading GIF files in jsp

 
Rajeshwari Ramamurthi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
My tomcat 4.1 is running behind Apache.

I deployed my webapplication "cas" by including following lines in server.xml
<Context path="/cas" docBase="cas"
debug="0" privileged="true"/>
cas directory has only
cas/test.jsp
cas/gif/*.gif
test.jsp is supposed to load few gif images.When i load this jsp page through tomcat (at port 8080). it is working OK.
But when I load it through apache, it is very slow and not loading all gif files. But it loads other contents.
I cannot load the gif files using html, because gif files to be loaded is to be decided dynamically.
Does anybody knows the solution for this problem
Thank you

 
Shamsudeen Iqbal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing the same problem. My application used to work fine with Tomcat 4.0.4. I just upgraded to Tomcat 4.1.12, now my application either takes a whole 5 minutes to start or just hangs. The status bar in the IE displays the .gif files in my application. I go against Tomcat :8080 directly without Apache or anything. And this Tomcat sits in Solaris 2.8 Any help will be appreciated. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic