They both share the same HTML form. The only difference is that all
the boxes for input in add_account.jsp is supposed to be blank while
they are supposed to display current information of the current user
to be edited in edit_account.jsp.
I think about using jsp:include to reuse the HTML form that works for
both add_account.jsp and edit_account.jsp.My plan is to declare some
String variables that will get the values of a JavaBean(current user),
if the value is null, these variables will have "empty" String values
which works in add_account.jsp.
Is there any cleaner way to do this? Does MVC framework will help? I
have never used any MVC framework.
Tung Chau