Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
JDBC connection using bean
if the request parameter name matches the bean property name, ....
servlet to bean to jsp
Order in jsp:useBean tag
<jsp:useBean>