How does an image get displayed in a page?
1. The browser receives an HTML page with an IMG tag in it. The IMG tag
contains a src attr (an HTTP URL).
2. The browser makes another request, for the URL of the image.
3. The server returns the image, which is displayed.
Clearly, if you want an
You will be compressing images?! :(
Remember that most image formats - gif, jpeg, png, etc, are already
compressed. In most cases compressing them again will only gain you 2-3%
improvement if anything at all. So you will be spending time compressing
for nothing.
Notice that the
Jakarta is a major city on the island of Java... in addition to being
capital of indonesia.
The city of Jakarta was built on the island of Java. This is the kind of
complex thinking that brought us product names like javabeans, kaffe,
hotjava, espresso, etc...
Who said geeks weren't creative?
If you really believe your mod_rewrite rule is properly configured to
send *ALL* traffic to the same URL but via https then:
I would double/triple check the access.log files to see if the request
is actually getting served from the port 80 server.
If I visit www.foo.com and then change the
Hi,
I have had this problem exactly, and have been told that it is a bug in
4.1.24 to 4.1.27 that has been fixed in 4.1.29. Essentially, when
working at or near the maximum connections (as defined in the Connector
config in server.xml) some threads get permanently deadlocked or
something. I
, November 4, 2003, at 02:45 PM, Erik Wright wrote:
Hi,
I have had this problem exactly, and have been told that it is a bug
in 4.1.24 to 4.1.27 that has been fixed in 4.1.29. Essentially, when
working at or near the maximum connections (as defined in the
Connector config in server.xml) some
A servlet is just a Java class. You can do anything you can do with the
java language, including start threads. The following starts a thread
that runs some task every 10 minutes. The thread is started in the
servlet init method. I choose to set the thread to daemon mode, meaning
that when the
This is definitely due to the class being loaded twice in two different
classloaders.
An object's type is in fact not only its class name, but a combination
of its class name and the class loader from which the class was loaded.
Note that class loaders can be heirarchical, but if classloader A
Francois,
can you tell me more about this:
Tomcat 4.1.27 bug when running at the MaxConnector limit
I am certainly experiencing this problem and really banging my head against it. Is there documentation about this bug? What is your workaround? I was planning to make the MaxConnector limit
Of course, there is always java.awt.
In order to write the images out, you need to use javax.imageio, which
is included in recent JDKs and can write to a variety of formats.
I use this combination to accept image uploads, determine their size,
store them in a database, and then serve them back
Essayez
[uri:*.monsite.com]
i.e., sans pas (path en anglais)
Aux documentations, on trouve:
If the uri name doesn't have a slash then it is considered as a
virtual host directive.
ou, si le nom d'URI n'a pas une '/', c'est consideré comme directive d'hôte virtuel.
Mais, la tienne a une '/',
Leo Larraquy wrote:
Excuse me about not beeing happy with your response, I understand that your
not the person who made Tomcat, but I really can`t understand why Linux
doesn`t have these problem and Windows does.
It's a problem with Windows and has nothing to do with Tomcat. More
I run my production server on Linux so I've never bothered to try, but a
quick google search shows:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
and
http://web.bvu.edu/staff/david/tcservcfg/
-e
Leo Larraquy wrote:
I`ve never done that, that`s the a fine way to avoid the problem,
Hi,
I have found what appears to be a serious problem in JK2. Am I doing
something wrong?
I'm tracking down a problem wherein some requests get lost. At first I
saw this when doing a large number of requests, but I was able to narrow
the problem down to a situation that avoids memory issues.
Which connector are you using?
I'm just theorizing here, but if it is a JK/JK2 AJP connector you may
find that the reason it is cutting off the extra space is to avoid
breaking the AJP protocol...
Another option for you might be to put a proxy somewhere between client
and server that can just
Hello,
I have tomcat set up to serve requests via mod_jk and apache.
While testing using JMeter, I see strange behavior. If I make, say, 100
requests at 1 second intervals (on separate connections), 96 complete
successfully, and the other 4 never return.
In fact, the other 4 never make it to
Look closer, it's listed in the error message you provided.
Cheers,
-erik
Thai Nguyen wrote:
Thanks so much Shapira,
The element I added in is error-page.
This element does not exist in the element's list from the error message.
I guess my question now is how do I add that element.
Thanks,
Hello,
I've been experiencing a strange problem with the Tomcat
Manager tool. I've setup Ant to deploy my WAR via the
supplied plugin, and created the appropriate manager user.
When I run the task, the tool reports success, and I can see
my application in the listing (both HTML and via Ant).
18 matches
Mail list logo