This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes servlet thread safe 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 » Frameworks » Struts
Bookmark "servlet thread safe question" Watch "servlet thread safe question" New topic

servlet thread safe question

Amy Saari
Ranch Hand

Joined: Sep 13, 2007
Posts: 30

I need some help. I've got a struts app and am not sure the code below is thread safe. It's running in the weblogic 8.1 servlet container. It's the buildInviteMessage path that looks suspicious. It calls new() on ParametersBundle which is static and contains private instance variables. Is it possible for two threads to be inside ParametersBundle setting the instance variables and colliding with each other?

Thanks for looking.

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
A Saarii

Please check your private messages for a
message regarding an important administrative matter.

Consultant, Sima Solutions
I agree. Here's the link:
subject: servlet thread safe question
Similar Threads
struts2 login interceptor not finding session attribute of user details.
Servlet Response for AJAX
Format method in SimlpleDateFormat
Servlet Response adding JSP page code to it
Problem with Ajax Double Combo