13.07.2015 Views

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 5.19 – MVC-Webflow personal profile pageTo show the approach at work, figure 5.20 presents a very simple piece of Web applicationspecified with MVC-WebFlow and e<strong>di</strong>ted within the MVC-Webflow online e<strong>di</strong>tor. The application isa cre<strong>di</strong>t card validator which receives in input from the user a cre<strong>di</strong>t card number and makes itsvalidation generating a confirmation or a refusal. The example <strong>di</strong>agram shows the JSP pagecre<strong>di</strong>tCardCheck, that leads to the checkCard Action that includes the form cre<strong>di</strong>tCardForm. Thesuccessful outcome of the checkCard Action leads to the JSP page confirmed, while a failureleads to the JSP page notConfirmed.Figure 5.20 – Flow <strong>di</strong>agram of the cre<strong>di</strong>t card validation example66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!