struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Windy Hung <>
Subject getting value from in action class
Date Tue, 24 Mar 2009 23:29:52 GMT
 I set 
"struts.multipart.saveDir=c:\\test-tmp" in my The setting is for file uploading.
And I would like to check if the directory exists during file loading in my action class.

Is there any easy way to get value out from instead of using getClass().getResourceAsStream("");

And when is the best time to check if the directory exits? Do I do the checking in Interceptor
instead of execute() in action class?


Windy Hung

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message