我想在struts1框架中使用“if condition and while loop”。我有一个带有setter()和getter()方法的Bean类,用于fname和lname属性。如何在jsp中使用该bean变量来检查条件?如何检查条件? 例如: if (firstname==lastname)
{ some action... }
我有以下的ActionForm一个Struts 1应用程序: import org.apache.struts.upload.FormFile;
public class uploadedFileForm {
public FormFile theFile;
public FormFile getTheFile() {
return theFile;
}