configuring login for static content and Servlets

2015-10-05 Thread Bill Ross
Is it possible to set up a site so that you have to log in to access the site at all, either the static content or the servlet interface? I have in mind 10-100 users. It seems a simple setup like .htaccess (httpd only?) would be perfect if it existed and covered static and servlet. Is this

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
From: Bill Ross <r...@cgl.ucsf.edu> Date:10/02/2015 2:04 AM (GMT-08:00) To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: loading images through a Servlet Thanks Andre for the well-considered reply. To Thad - thanks, I also asked on stackoverflow after here. I be

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
.. Maybe I will be selling to them :-) Thinking of my slideshow app overall. Bill On 10/2/2015 1:16 AM, André Warnier (tomcat) wrote: On 01.10.2015 23:52, Bill Ross wrote: Please let me know if there is a better place to ask Servlet/javascript interface questions. For the javascript pa

Re:[OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
Date:10/02/2015 2:46 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re:[OT] loading images through a Servlet On 02.10.2015 11:39, Bill Ross wrote: > And if I find anyone hitting me with unknown or aged-out hashes I will report > their IP addresses to porn sites so they can be

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
I agree it's not a million-dollar idea - I will settle for half! :-)  Nowadays a lawyer might try for a patent. Bill Original message From: "André Warnier (tomcat)" Date:10/02/2015 8:26 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re: loading images

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
All you need to control the hashtable size (actually DB) is delete every so often. But on the other hand I have a record for each showing anyway, so it's not introducing a new level of scale to the db. Original message From: "André Warnier (tomcat)"

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
On 02.10.2015 12:44, Bill Ross wrote: Whether or not I have masked the file name in the header properly, which I can't verify easily Oh yes you can. Mozilla Firefox, plugins, Web Developer, HttpFox. click and open in its own window. click start then get your page (in the main window) then go

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
On 10/2/2015 1:55 PM, André Warnier (tomcat) wrote: On 02.10.2015 21:18, Bill Ross wrote: Installed FF, HttpFox wasn't installed, installed it but it doesn't show up under developer tools, but I found something and here are my headers: HTTP/1.1 200 OK Etag: W/"resized_2_3306

loading images through a Servlet

2015-10-01 Thread Bill Ross
Please let me know if there is a better place to ask Servlet/javascript interface questions. I have a slide show web page that does the logical equivalent of: var img = new Image(); img.src = "/images/" + /servlet/getnextfile(params) img.[onload]: document["image"].src = img.src;