Bear Bibeault wrote:I don't really know what you mean by that, but you shouldn't be using scriptlets in a JSP at all. You should be using the JSTL's <c:url> tag to create properly encoded URLs.
Please read this this JspFaq entry.
Paul Clapham wrote:Did you interpret that to mean that a new thread is created for every single request?
Because that isn't what actually happens in real-life servlet containers. There is a pool of threads which are reused as required. So a request which happens at 10 am and another request which happens 6 hours later might run in the same thread. All that can be said for sure is that two requests which are running at the same instant will be running in different threads.