Subj : Processing multiple scripts using a single runtime-context pair To : netscape.public.mozilla.jseng From : rvivek13@yahoo.com (r vivek) Date : Tue Jan 28 2003 08:19 am Supposing I want to implement a webserver that supports server side scripting. Each request for a page is handled by a thread. I have a pool of runtimes and each request processing thread waits for getting a handle to the runtime pool element (a JSRuntime instance). Once it gets hold of the JSRuntime it creates a context (say CX) to process the whole page. Consider the case in which one of the pages has two scriplets (defined below) in it,