feh wrote:
> 
> Hi folks.
> 
> I recently upgraded from Stripes 1.4.2 to 1.5.1, and I'm now experiencing
> a problem w/ URL binding that didn't occur before.
> 
> I have a form tag, like so:
> 
> <stripes:form method="post" action="/Login.action">
> 
> When the LoginActionBean class is located under WEB-INF/classes, stripes
> finds it and executes it properly. If I place that class in a jar file in
> WEB-INF/lib, I get the error:
> 
> 2009-09-01 09:42:45,524 [http-8080-Processor25] ERROR
> net.sourceforge.stripes.tag.FormTag  - Could not locate an ActionBean that
> was bound to the URL [/Login.action]. Without an ActionBean class Stripes
> cannot determine whether the ActionBean is a wizard or not. As a result
> wizard behaviour will be disabled.
> 
> I've read the upgrading.txt file that comes w/ the 1.5.1 download, but I
> didn't see an explanation for this behavior.
> 
> Any help would be much appreciated!
> 

Thought I'd provide a little debugging output. When things work (action bean
in under WEB-INF/classes):

2009-09-01 13:21:05,806 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - Intercepting request to
URL: /Login.action
2009-09-01 13:21:05,807 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - LocalePicker selected
locale: en_US
2009-09-01 13:21:05,807 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - LocalePicker did not
pick a character encoding, using default: null
2009-09-01 13:21:05,807 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.UrlBindingFactory  - Matched
/Login.action to /Login.action
2009-09-01 13:21:05,807 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.DispatcherServlet  - Dispatching request
to URL: /Login.action

When things don't work (action bean is in jar file in WEB-INF/lib):

2009-09-01 13:17:20,764 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - Intercepting request to
URL: /Login.action
2009-09-01 13:17:20,764 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - LocalePicker selected
locale: en_US
2009-09-01 13:17:20,764 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.StripesFilter  - LocalePicker did not
pick a character encoding, using default: null
2009-09-01 13:17:20,764 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.UrlBindingFactory  - No URL binding
matches /Login.action
2009-09-01 13:17:20,764 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.DispatcherServlet  - Dispatching request
to URL: /Login.action
2009-09-01 13:17:20,776 [http-8080-Processor25] INFO 
net.sourceforge.stripes.validation.expression.ExpressionValidator  -
Expression validation will be performed using:
net.sourceforge.stripes.validation.expression.CommonsElExpressionExecutor
2009-09-01 13:17:20,779 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.ExecutionContext  - Transitioning to
lifecycle stage RequestInit
2009-09-01 13:17:20,783 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.ExecutionContext  - Transitioning to
lifecycle stage ActionBeanResolution
2009-09-01 13:17:20,783 [http-8080-Processor25] DEBUG
net.sourceforge.stripes.controller.UrlBindingFactory  - No URL binding
matches /Login.action

-- 
View this message in context: 
http://www.nabble.com/ActionBean-binding-problem-tp25243331p25244274.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to