You can use the @Inject annotation to inject values from the struts
properties like this:
import com.opensymphony.xwork2.inject.Inject;
/**
* Inject whether XSL Caching should be used
*
* @param val The Boolean String Value
*/
@Inject("struts.xslt.nocache")
public void setNoCac
Try to use ResourceBundle
On Tue, Mar 24, 2009 at 6:29 PM, Windy Hung wrote:
> Hi
> I set
> "struts.multipart.saveDir=c:\\test-tmp" in my struts.properties. The
> setting is for file uploading.
> And I would like to check if the directory exists during file loading in my
> action class.
>
> Is
2 matches
Mail list logo