File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!