java - Tomcat 6 file upload strategy -


I'm using biscuits for a while and still can not find a good way to upload files. Just wonder how people handle file uploads.

You know how you can create a SIMLink for any other FS in the application. But then by Default Tome, your Simulal and everything is removed inside the symlink, so take this extra step to deploy yourself. I know that there are patch that you can change the behavior but it will add additional steps for the tomatoes upgrade, And patches can not always be available.

I use FDD (with this sublet connector), Spring, Sprots 1/2 and file upload for some time.

What is the best way to do this?

Another requirement is that the uploaded file should be viewed in a vantage location so that backup scripts can be easily backed up, ideally inside the app (or just in the simulink within the app)

P>

No comments welcome!

=)

Personally, I think these files are relative to $ CATALINA_BASE Location:

file DIR = new file (system.jetproperty ("catalina.base"), "upload");


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -