Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSP and the fly likes single thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "single thread" Watch "single thread" New topic

single thread

robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
How can i make my jsp single threaded?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In my signature, there is a link to the JSP spec.
Search the PDF for the "isThreadSafe" directive.

Before using it, however, search the Servlet Spec (also in my signature) for SingleThreadModel to find out why it's deprecated and why you shouldn't use it.

Why do you want a single threaded JSP?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
Thanks. I'm a novice in JSP. Was trying some simple JSPs on my machine and this thought occured to me of making it thread safe.
jQuery in Action, 2nd edition
subject: single thread
Similar Threads
Servlet communication between different applications
synchronized(page) is jsp
American Dream´┐Ż
MTOM issue with dispatch client
locking of database record