This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
if the request parameter name matches the bean property name, ....
Order in jsp:useBean tag
<jsp:useBean>
servlet to bean to jsp
JDBC connection using bean