>From the below code, I know that the gid() method gets called because the
System.out line executes, however the ownerGroup string never gets set. Am
I doing something wrong?
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
import java.io.File;
import org.apache.struts.validator.ValidatorForm;
import java.io.Serializable;
import java.lang.System;
import com.install.util.GetGid;
public final class MyFormBean extends ValidatorForm implements Serializable
{
private String ownerGroup = gid();
public String getOwnerGroup() {
return (this.ownerGroup);
}
public void setOwnerGroup(String ownerGroup){
this.ownerGroup = ownerGroup;
}
public String gid() {
System.out.println("Should be returning GID: " +
GetGid.getGid());
return GetGid.getGid();
}
}
Thanks,
Jeremy Weber
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]