Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A jsp:useBean question

 
Tushar Madhukar
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Tomcat 5.0 to try out JSPs. I used <jsp:useBean> action in a JSP page and found that the corresponding code in the generated servlet is synchronized on the "request" object.

Why is there a need for this synchronization? Aren't "request" objects always thread-safe?

Thx
[ May 11, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic