Re: [Resin-interest] Problems including JSP Segments (Fragments) in Servlet

2007-08-20 Thread Chuck Replogle
Sorry, I typo'd in the e-mail, my config has resin-jsp. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michaeljohn Clement
Sent: Monday, August 20, 2007 00:18
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Problems including JSP Segments (Fragments) in
Servlet

Chuck Replogle wrote:
 The Resin servlet that handles JSPs is resin-jsp not resin.jsp. 

Yes, that's what I was saying.  So your servlet-mapping should reflect
that, right?

You can always include a servlet/ in your resin.conf or web.xml and make
everything explicit...

HTH,
Michaeljohn


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Problem with gzip compression for javascript downloads from Linux server

2007-08-20 Thread Scott Ferguson

On Aug 16, 2007, at 2:13 PM, Michael L. Davis wrote:

 Hi Everybody,

 Using Resin Pro 3.0.23, enabling gzip compression works on Windows XP,
 specifically the large (300K+) amount of javascript we use gets
 compressed to 25% or so. Very nice.

 But on Linux, only the HTML is compressed. This we verified using:
 http://www.websiteoptimization.com/services/analyze/index.html and
 Firefox's FireBug.

Can you look at the headers that the client is sending to Resin?  
(level=finer will show those)

It's possible that the gzip filter isn't properly handling the Accept- 
Encoding from the client.

-- Scott


 The Linux version is: CentOS release 4.5 (Final)

 What we have in conf (and we've tried a number of variations) is:

 web-app id=/ document-directory=/var/www/resin/deploy
 filter filter-name=gzip
 filter-class=com.caucho.filters.GzipFilter/
 filter-mapping filter-name=gzip
 url-pattern
 exclude-pattern*.pdf/exclude- 
 pattern
 include-pattern/*/include-pattern
 /url-pattern
 /filter-mapping
/web-app

 Any suggestions? Anybody?

 Thanks,
 Mike.








 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest