Originally posted by Jim Yingst:
I don't know what kind of server you're dealing with here, but it probably has some sort of shutdown method. Find that, and see if you can insert a close() call to the file as part of the shutdown sequence. Alternately if you normally shut down using control-C or something, you can try using a shutdown hook:
This can't always be guaranteed to work, depending on shutdown method (e.g. kill -9 probably won't bother respect the shutdown hook, I'm guessing) but it's as good as you're likely to be able to get on most systems.
Originally posted by Hans Bergsten:
I'll try to answer both questions here.
JSF is great for complex user interfaces, i.e., for web applications that look and feel as much as a GUI app as possible. For such an application, JSF boost productivity and reduces complexity.
<< snip >>
Originally posted by dave sag:
From looking in the Struts1.1 source code at It does appear that it is valid to specify a 'name' param in your Action configuration in struts-config.xml without specifying an actual form, and thus you can use the name to tie actions and forms together in this manner.