aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "servlet thread safe question" Watch "servlet thread safe question" New topic
Author

servlet thread safe question

Amy Saari
Ranch Hand

Joined: Sep 13, 2007
Posts: 30
Hi

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.
Amy

ACTION:
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet thread safe question