well ...no... first evaluate, then assign. and constants are int by default.
I think C/C++ would have the same problem...
On Sun, Jan 16, 2011 at 1:25 PM, André Warnier wrote:
> Ran Berenfeld wrote:
>
>> thanks :) silly me. problem solved
>>
>
> It's more sil
thanks :) silly me. problem solved
On Sun, Jan 16, 2011 at 12:21 PM, Konstantin Kolinko wrote:
> 2011/1/16 Ran Berenfeld :
> >// cache for 1 year
> >private static final long _cacheTime = (1000 * 60 * 60 * 24 * 365);
>
> With this sample program:
> public cl
Hello
I'm trying to set caching for 1 year for my static context (js,css and
images)
however seems like caching is only done for 2-3 weeks. below I put my
caching filter
and a response for some js file request.
I've added this code in a special "catch-all" filter and verified that all
resources
a
re
compressed correctly.
it's a pity it's not documented somewhere, that the "default" tomcat
settings actually fails to compress
anything above 48KB size. (well actually the defaults is not to compress at
all)
problem is now solved, and I removed the custom gzip filter.
d that solved the
problem...)
Here's the relevant part of my server.xml :
If anyone encountered this issue, please share :)
Is there an open Tomcat ticket for it ? I couldn't find one
thanks
Ran
--
רן ברנפלד
מנהל
אתר השחמט הישראלי
*http://www.ichess.co.il*
Alessandro Bahgat wrote:
>
> On Mon, Jan 25, 2010 at 11:02 AM, Pid wrote:
>> On 25/01/2010 09:17, Ran Harpaz wrote:
>>>
>>> Hello, I'm using Jetspeed 1.6, running on Tomcat.
>>>
>>> In a portlet I developed, I create a .csv file and pri
Hello, I'm using Jetspeed 1.6, running on Tomcat.
In a portlet I developed, I create a .csv file and print a link to it. The
user then needs to right-click on the file and select "save file as".
The dialogue that pops up defaults to file type HTML file, and replaces the
.csv extension of the fil
Hello, all,
I am working with Jetspeed 1.6-Tomcat 5.5.9 fusion and am trying to deploy a
portlet project I created in JDeveloper. The WAR file I make is well-formed
and is, in fact, deployed, but it shows me an error when I attempt to view
the portlet in Jetspeed.
So far, all my portlet does is
Hi all,
I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums'
How could I do that with tomcat conf ? or I need to match the requested url
in a redirect servlet ? or is it even a DNS zone file question ?
Thanks,
ran
ISTEN
10.2.2.4.8080 *.*0 0 49152 0
LISTEN
Thanks for any comments.
Regards,
Ran
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09, 2007 9:14 PM
To: Tomcat Users List
Subject: RE: multiple Tomcat on one host
n this way.
Thanks.
Regards,
Ran
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Dima,
I may not understand how the the php-java bridge works. It did not seem to
allow a php application to run under Tomcat ?
ran
On 12/20/06, Dima Retov <[EMAIL PROTECTED]> wrote:
Here is faster solution.
http://php-java-bridge.sourceforge.net/
It runs PHP in FastCGI mode.
Hi all,
I have tried the tutorial about setting up PHP on tomcat as a Servlet from
wiki.tomcat, but I could not get it to work.
Has anyone managed to get PHP4/5 to work on Tomcat ? Do I still need to
patch source code when using php 4.4.4 ?
Thanks for all advices,
ran
Thanks Chris,
Would the expensive opening database connection a issue while using Named
Pipes ?
(is the cost mostly coming from TCP 3 way or the xact setup/resource
allocation on the db side for a new inbound connection ?)
Ran
On 12/13/06, Christopher Schultz <[EMAIL PROTECTED]>
the connection
after query finishes.
Do pooled connections remain open in the container while idle ?
On 12/12/06, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ran,
Ran wrote:
> My plan was to share an open-connection within a bean, pooled c
connection
across beans. Will it exhaust the pool ?
On 12/11/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:
Ran wrote:
> Hi all,
> How does DBCP compare to application managed, single connection which
stays
> open to share ?
Do you realy need only one connection?
If you nee
Hi all,
How does DBCP compare to application managed, single connection which stays
open to share ?
Thanks,
ran
I have a Tomcat 5.0 server running on a 1.4 JRE
I was wondering if there was any way to access server configuration (in
server.xml etc.) from a servlet?
Is there a way to determine where the server is installed on the system
etc.?
I would like to basically determine the server's SSL keystore an
target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
any
19 matches
Mail list logo