aspose file tools*
The moose likes JSP and the fly likes Implementing SingleThreadedModel using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Implementing SingleThreadedModel using JSP" Watch "Implementing SingleThreadedModel using JSP" New topic
Author

Implementing SingleThreadedModel using JSP

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
Hello Guys,
I know SingleThreadedModel is a very poor design pattern, but I just would like to know how I can implement it using a JSP. I know how to do it using a servlet
Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

What possible use could this be for a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
I know its not of much use but I just tried to imagine if it was possible since JSP's are converted into Servlets internally, I just thought there might be some way!
I promise I wouldnt put to any use!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Most containers implement isThreadSafe="false' by creating a servlet that implements SingleThreadModel.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing SingleThreadedModel using JSP