Stripes cannot found default ActionBean form
--------------------------------------------

                 Key: STS-881
                 URL: http://www.stripesframework.org/jira/browse/STS-881
             Project: Stripes
          Issue Type: Bug
          Components: ActionBean Dispatching, Context Management
    Affects Versions: Release 1.5.7
         Environment: Windows 7 Home Premium, Jetty 8.1, JVM 1.7, Maven 3.0.4
            Reporter: Keuller Magalhaes
            Priority: Minor
         Attachments: HomeActionBean.java, home.jsp

When I try to use a simple ActionBean with <s:form> tag with 'action' 
attribute, Stripes cannot found my ActionBean class, but when I put the 
@UrlBinding annotation in my ActionBean class all works fine. Stripes attempt 
to use the default ActionBean 'DefaultViewActionBean' and throws the EL 
exception because it cannot found a property of my bean.


20:41:09,505  WARN DefaultExceptionHandler:94 - Unhandled exception caught by 
the Stripes default exception handler.
org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: The 
class 'net.sourceforge.stripes.controller.Def
aultViewActionBean' does not have the property 'message'.
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)

The 'message' property exists inside my HomeActionBean.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to