Originally posted by Travis Hein:
the blank screen from the result of validate() being called and you have an input in the struts configuration action mapping, can be caused when the value of the input="" attribute does not references a jsp file, there is a typo in the path or file name, or you have included the application context as part of the path. the jsp path should be refrenced from the web application without the context path in front of it.
for example, my input form is in /WEB-INF/jsp/input1.jsp
then i would have input="/WEB-INF/jsp/input1.jsp"
Other times may be when the input jsp file has an error and does not compile.
I have found too when my execute() method cannot find a forward, or if my action class does not implement the execute() method I also get just a blank screen with no error messgaes, but that is after the validate().
Originally posted by Travis Hein:
the blank screen from the result of validate() being called and you have an input in the struts configuration action mapping, can be caused when the value of the input="" attribute does not references a jsp file, there is a typo in the path or file name, or you have included the application context as part of the path. the jsp path should be refrenced from the web application without the context path in front of it.
for example, my input form is in /WEB-INF/jsp/input1.jsp
then i would have input="/WEB-INF/jsp/input1.jsp"
Other times may be when the input jsp file has an error and does not compile.
I have found too when my execute() method cannot find a forward, or if my action class does not implement the execute() method I also get just a blank screen with no error messgaes, but that is after the validate().