Re: [OT] loading images through a Servlet

2015-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 10/2/15 5:02 PM, Bill Ross wrote: > 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

Re: [OT] loading images through a Servlet

2015-10-02 Thread tomcat
From: "André Warnier (tomcat)" <a...@ice-sa.com> 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 hash

Re: loading images through a Servlet

2015-10-02 Thread tomcat
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 part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Re:[OT] loading images through a Servlet

2015-10-02 Thread tomcat
omcat 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 believe I have solved the obfuscation problem independent of the javascript issue. What I just go

Re: loading images through a Servlet

2015-10-02 Thread tomcat
Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his retirement plan, following his discovery of a brilliant and innovative solution. Better to start from the beginning of the thread.. On 02.10.2015 16:30,

Re: loading images through a Servlet

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 10/2/15 5:04 AM, Bill Ross wrote: > Thanks Andre for the well-considered reply. To Thad - thanks, I > also asked on stackoverflow after here. > > I believe I have solved the obfuscation problem independent of the > javascript issue. What

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
Thanks Andre for the well-considered reply. To Thad - thanks, I also asked on stackoverflow after here. I believe I have solved the obfuscation problem independent of the javascript issue. What I just got working is logically: img.src = "/images/" + /servlet/getnext(params) Where I now

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 tomcat
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 part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 17:04, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/2/15 10:38 AM, André Warnier (tomcat) wrote: Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his

Re: loading images through a Servlet

2015-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/2/15 10:38 AM, André Warnier (tomcat) wrote: > Chris, you're kind of breaking down an open door here. Bill was > already at the stage of congratulating himself and dreaming of his > retirement plan, following his discovery of a

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)" <a...@ice-sa.com> Date:10/02/2015 8:26 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re

Re: loading images through a Servlet

2015-10-02 Thread Bill Ross
.com> Date:10/02/2015 8:26 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re: loading images through a Servlet On 02.10.2015 17:04, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > André, > > On 10/2/15 10:38 AM, André Warnier (to

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
From: "André Warnier (tomcat)" <a...@ice-sa.com> 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 wi

Re: [OT] loading images through a Servlet

2015-10-02 Thread tomcat
t, your scheme looks nice to me so far. Original message From: "André Warnier (tomcat)" <a...@ice-sa.com> 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 wro

Re: [OT] loading images through a Servlet

2015-10-02 Thread Bill Ross
Original message From: "André Warnier (tomcat)" <a...@ice-sa.com> 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

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;

Re: loading images through a Servlet

2015-10-01 Thread Thad Humphries
The servlet that gets the image is the src for the image. The servlet should return the correct MIME type for the image (image/jpeg, image/png, etc). Update the src attribute and the image should update. That's how I do it. However I'm not writing straight JavaScript. You should put your question