[ 
http://www.stripesframework.org/jira/browse/STS-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732#comment-12732
 ] 

Keuller Magalhaes commented on STS-881:
---------------------------------------

Frederic, according with your orientation I tried to use the 'a' approach, 
moving my ActionBean to 'action' package and using <s:form 
action="/Home.action"> but I get the same error. If I use 'c' approach as your 
recomendation the result is the same like option 'b'. I would like to create 
simple and short URL for action and I realized that best choice is to use 
@UrlBinding annotation.

The Stripes documentation don't show up such settings more clearly I follow the 
'Quick Start' and I get this errors.

Congratulations for the framework, I'm really enjoying to test and developer 
with Stripes. Simple, Easy and Fun!!!

Best Regards.


> 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
>            Assignee: Frederic Daoud
>            Priority: Minor
>              Labels: Action, Resolution
>         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