J2EE eclipse file uploading project requires refresh on package explorer before server register new file?

I am using struts to build an image uploading module.

However, I am encountering the problem of user not able to see the file they upload until I manually refresh the package explorer on eclipse.

Any one know how to solve this?

Thanks!

Answers


May be the option:

Preference > General > Workspace > 'Refresh automatically'

would help ? (settings for eclipse3.4)

Note: the 'refresh automatically' was introduced in eclipse3.0.

There was a similar issue for CVS file.

This article describes what is behind those 'refresh'


Need Your Help

Regexp to validate copyrights

python regex python-2.7

I'm creating a series of filters in order to validate strings containing copyrights and I'm struggling to find the appropriate regexp to match them.

Copy Big Buffer into chunks of smaller buffer

c pointers

I have a huge buffer of known size. I need to copy chunks of it to send via sockets to a server. For this purspose I am trying to copy say 1024 bytes at a time and then send it.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.