Session lost when switching from https to http in Tomcat 5.

2005-04-28 Thread Anhony
I have a servlet/JSP application in which users establish their servlet session using https but conduct the rest of their interactions using http. The session appears not to be preserved between https and http, ie. after switching from back to http the request.getSession(false) call returns

Re: How to use servlet filters without modifying webapp

2005-04-28 Thread Anhony
Greetings, Try adding a filter block to your web.xml. Your JSP container locates your filters thru these sections in the web.xml. I included a small sample filter block below. filter filter-nameprocessingFilter/filter-name filter-classservletFilters.ProcessingFilter/filter-class /filter

Re: Session lost when switching from https to http in Tomcat 5.

2005-04-28 Thread Anhony
@jakarta.apache.org Sent: Thursday, April 28, 2005 10:26 AM Subject: Re: Session lost when switching from https to http in Tomcat 5. On 4/28/05, Anhony [EMAIL PROTECTED] wrote: I have a servlet/JSP application in which users establish their servlet session using https but conduct the rest

Re: Session lost when switching from https to http in Tomcat 5.

2005-05-01 Thread Anhony
Greetings, Your help is greatly appreciated, I have hade a devil of a time with this. I am glad to know this was not caused by an error in my code. Again, thanks very much for your help. Best Regards, Anthony- - Original Message - From: Bob Feretich [EMAIL PROTECTED] To: [EMAIL

Re: Serving files using tomcat

2005-05-04 Thread Anhony
Greetings, Take a look at the code fragment below. It should serve as a good starting point. I hope this helps. AS- private void processPDFRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, Exception { int bytesCopied = 0;

Re: Serving files using tomcat

2005-05-04 Thread Anhony
do the same thing with a dynamic image and forward to a page with a jpg content type, the image appears without a problem. Steve - Original Message - From: Anhony [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, May 05, 2005 1:02 AM Subject: Re: Serving