Struts architecture
-
This post is deleted!
-
I don't understand the framework very well, but I did find this bit of code in the
BL
function I'm interested in...public void setDocument1011123( UserProfile p_userProfile, AssessmentForm p_form, HttpServletRequest p_request) throws ApplicationException{ if (p_form.getOriginalAction().equals("VIEW")) { # This stupid bit m_readOnly=true; }
So, presumably, a form's action can change and it keeps track of it... so a different action handler was getting called before the
setDocument
part I'm interested. So ... the culprit is in the other 8000 line function to read.
-
@Captain Oh fuck this code is hot garbage.