Re: Http to https and viceversa without session losing

2007-03-23 Thread Bello Martinez Sergio
If I get a HttpsURLConnection like you've said, and then get an InputStream as connection.getInputStream(), I can't read anything from that stream, and metthod InputStream.available() returns 0. All this is true if you use a 'https' url, not a 'http' one. You can try it one day when you have en

Re: Http to https and viceversa without session losing

2007-03-19 Thread Bello Martinez Sergio
Ok. I can't use https from applet because I've realized that you can't use methods like url.openConnection() nor url.openStream() if url is 'https' like. This applet has to get images from server. You'll ask why I don´t use getImage() or Toolkit.getImage(), the answer is that we don't work with

Http to https and viceversa without session losing

2007-03-19 Thread Bello Martinez Sergio
Hi all, I'm working with the next scenario: I have a web application running under apache-mod_jk-tomcat. I access this application through https, but I have an applet into a page, this applet access the server periodically to get data through http (I can´t use https at this point, it´s a requi

RE: Images caching

2006-01-17 Thread Bello Martinez Sergio
n.doFilter(req, response); > } > > /** >* toString >* @return string containing the version information >*/ > public String toString() { > return VERSION_STRING; > } > > /** >* destroy >*/ > public void destroy(

RE: Images caching

2006-01-16 Thread Bello Martinez Sergio
on't mind putting my two > pence worth in. > > I'm not that sure about the client side but I've heard > mention of something called Squid which can cache > static content quite well and would sit as a proxy in > front of Tomcat. > > Gluck > > --- Bell

Images caching

2006-01-16 Thread Bello Martinez Sergio
Hi all, I have a web application in Tomcat 5.0 (standalone) that does image swapping for some mouse events. My problem is that IE does a GET request everytime I change an image's src atribute. No matter if I preload all document images with imgX=new Image(); imgX.src = '...', the browser always re

Content is not allowed in prolog Tomcat-XmlRpc

2005-11-23 Thread Bello Martinez Sergio
Hi all, I'm using Tomcat 5.0, and I'm having a very strange problem. Sometimes, when a client sends several continuous http requests to the server, it receives http headers when it should only be the body. If in method doPost()I call request.getInputStream, I can see header lines. I'm using Apache