I was initially going to move this to the Java Beginner forum as learning how to use static variables is not a servlet issue... BUT...
Using static variables to share information in a multi-threaded environment such as a web application is a total recipe for disaster. Don't do it!
Please explain what you are trying to share, and what you want to share it with, and in what scope the sharing should take place so alternatives that will work can be suggested. [ May 31, 2007: Message edited by: Bear Bibeault ]
Joined: Nov 16, 2004
Basically I need to upload a file and have the app give the file a name based on the drawing number the user is working on at the time.
My bean code which works great bu I want to programatically control the path/name of the file output: