
Chapter 4. Building the base scenario: Stage 1 127
|| previousFormState.equalsIgnoreCase("5")) {
System.out
.println("SubmissionServlet: doPost: FormMetaData: previousFormState ["+
previousFormState+ "] indicates previous file deletion is necessary");
props.getProperty(previousFormState);
System.out.println("SubmissionServlet: doPost: FormMetaData:
PreviousFormState element contained value: "
+ previousFormState+ ", which does not indicate deletion.");
}
As you can see, the provided code contains the main part of the business logic (storing files
according to state). The rest of the application logic is contained in the JSPs offering all
application ...