FormTag should check for null action and null binding
-----------------------------------------------------
Key: STS-305
URL: http://mc4j.org/jira/browse/STS-305
Project: Stripes
Issue Type: Improvement
Components: Tag Library
Affects Versions: Release 1.4.1
Reporter: Ben Gunter
Assigned To: Tim Fennell
Priority: Minor
I did something admittedly dumb and created a <stripes:form> without setting
either the binding or action attributes on the tag. This resulted in Stripes
calling ServletRequest.getAttribute() with a null argument, which threw a NPE
at FormTag.java, line 305. I had to look at the source code to figure out what
was wrong. Stripes should check for this condition and throw a more informative
exception if it occurs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development