Re: Expiring page

2000-07-20 Thread Nuorteva, Kare
> response.setHeader("Expires", "-1"); The one referred above might also work, but this works for sure: response.setDateHeader("Expires", 0); -- Kare Nuorteva, Software Engineer Satama UK Ltd mobile +44 (0)7989 852 865 http://www.satama.co.uk/ ==

Re: HTML output in declared function

2000-05-08 Thread Nuorteva Kare
hello, > I obviously have not wrapped my head around <% vs <%!. It seems that > all of the declarative (<%!) content is collected in one > buffer, and the > rest is collected in another buffer. Is there a way for we to > get the HTML > into the declarative buffer, and have it changed to java code

Re: Caching Problem

2000-05-08 Thread Nuorteva Kare
> I have put already a "close database connection" method within the > destroy() method of the servlet but it does not seem to be called by > the webserver. Hi, Because You open/close database connection at the wrong place. You should open the connection just before the transaction and close it

Re: JSP Init & Destroy

2000-05-08 Thread Nuorteva Kare
> Servlet is having init & destroy method, for initialization > and closing. > > Is there any similar feature present in JSP - Bean. > > For e.g if my bean involves database manipulation. i want to > open connection > objects while initializing and i will have to close all the > connections when >

Re: How to get currect URL?

2000-04-26 Thread Nuorteva Kare
> Hi all, > > I am a JSP beginner and hope someone can help me to solve a problem. > > How to get the exact URL (i.e. http://...) of the current > jsp page? I > have tried the method getRequestURI but I just got the file > path instead of > the URL. > > Does anyone know how to solve this? > Re