J_coder 0 Newbie Poster

Hi,

I'm relatively new to JSP (J2EE).
While I was reading I encountered the following JSP declarations. (<%!>)

now is my question how does the servlet save the new value, because I thought that the container creates a new thread for every request to access the servlet.
So by doing that won't the servlet and his declared variable be reseted?:-/

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.