title: Struts 2 Action Thread Safety When Accessing Static Methods
body: <p>I know that Struts 2 Actions are thread safe. But what happens if those Action classes contains method calls to utility static methods? Will thread safety be compromised?</p>
  
  <p>Take a utility method that will parse an uploaded excel file etc. If the method is to be declared static should it be synchronized?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I'm just reading the file, and the file is submitted to the action so in itself it should be thread safe... But Since the parsing is done in a utility method I'm having doubts whether synchronization is necessary or not. But apparently if you are accessing only method scope variables it should be thread safe. But does parameters like File fall under that category?</p>