This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes A jsp:useBean question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "A jsp:useBean question" Watch "A jsp:useBean question" New topic
Author

A jsp:useBean question

Tushar Madhukar
Ranch Hand

Joined: May 03, 2006
Posts: 36
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A jsp:useBean question