J
Jeffrey.Rodriguez
While I am new to Java, I believe I understand how MVC works and how to
program for it. However, what I'm not sure of is what to do if a user
goes directly to the JSP page (the view).
Is there a standard way of handling this? My thought would be to test
if the model components are there, if not, forward to the controller to
setup the model, then forward BACK to the original view jsp page.
Is there an easy way to do this with a minimum amount of code, or am I
going about it completely wrong?
program for it. However, what I'm not sure of is what to do if a user
goes directly to the JSP page (the view).
Is there a standard way of handling this? My thought would be to test
if the model components are there, if not, forward to the controller to
setup the model, then forward BACK to the original view jsp page.
Is there an easy way to do this with a minimum amount of code, or am I
going about it completely wrong?