aspose file tools*
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 Java 8 in Action this week in the Java 8 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.
I agree. Here's the link:
subject: single thread
Similar Threads
American Dream´┐Ż
locking of database record
synchronized(page) is jsp
Servlet communication between different applications
MTOM issue with dispatch client