You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/03/13 22:24:43 UTC
DO NOT REPLY [Bug 38956] New: - [el] Postback form (optional 'action' attribute for html-el:form) is not working
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38956>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38956
Summary: [el] Postback form (optional 'action' attribute for
html-el:form) is not working
Product: Struts
Version: 1.3.0
Platform: Other
URL: http://struts.apache.org/struts-el/tagreference-struts-
html-el.html#html:form
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: EL
AssignedTo: dev@struts.apache.org
ReportedBy: wsmoak@apache.org
The release notes for 1.3 mention 'Postback forms' and say that the 'action'
attribute of the form tag is now optional. This hasn't been changed in the tld
for the html-el taglib. Making that change resulted in the following NPE. Was
this feature implemented in the Struts EL taglib?
14:20:18,187 - ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[example.com].[/myapp].[action]
- Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at org.apache.struts.taglib.TagUtils.getActionMappingName(TagUtils.java:560)
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:755)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:410)
at org.apache.strutsel.taglib.html.ELFormTag.doStartTag(ELFormTag.java:396)
at
org.apache.jsp.WEB_002dINF.jsp.chooseAgresrelBody_jsp._jspx_meth_html_form_0(org.apache.jsp.WEB_002dINF.jsp.chooseAgresrelBody_jsp:132)
at
org.apache.jsp.WEB_002dINF.jsp.chooseAgresrelBody_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.chooseAgresrelBody_jsp:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38956] - [el] Postback form (optional 'action' attribute for html-el:form) is not working
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38956>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38956
------- Additional Comments From niallp@apache.org 2006-03-14 17:32 -------
>From what I can see, it shouldn't need anything additional in the EL flavour
FormTag. My guess is you've hit a scenario where it just doesn't work - EL or
regular. Looks for some reason like the original URI is null, causing the
problem. Have you tried it with the regular "non-EL" FormTag - I suspect that
would also do the same.
I started trying to add a postback example to the struts-examples webapp - but
I found other problems - See Bug 38964.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org