Hi all ,
Thanks for helping me solve validation problem.
Now I am trying to inetgrate stripes1.5 with spring . I have added all the jars
under spring-framework-3.0.0.M1/dist folder & spring.jar to WEB-INF/lib .When
I try to deploy application I get following error....
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: org/antlr/runtime/RecognitionException
at
org.springframework.context.expression.StandardBeanExpressionResolver.<init>(StandardBeanExpressionResolver.java:40)
at
org.springframework.context.support.AbstractApplicationContext.prepareBeanFactory(AbstractApplicationContext.java:442)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247)
at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
spring-framework-3.0.0.M1
--- On Thu, 26/2/09, zkn <[email protected]> wrote:
From: zkn <[email protected]>
Subject: Re: [Stripes-users] Stripes 1.5 validation problem
To: "Stripes Users List" <[email protected]>
Date: Thursday, 26 February, 2009, 3:34 AM
I had exactly the same problem yesterday. The problem was that I was using
directly the sourcePage parameter instead getSourcePage() and it was forwarding
to the encryped URL.
The behavior seems normal. I couldn't see a document on the site describing
"How to upgrade" but now I see that there is one in the distribution. It
definitely worth reading as I could have avoided few other problems too.
On 25.02.2009, at 21:49, Morten Matras wrote:
I ended up was overwriting the getSourcePageResolution() in my
ActionBeanContext to return new ForwardResolution(this.getSourcePage());
Something is pretty strange in the behavior.
Regards
Morten
2009/2/25 Ben Gunter <[email protected]>
That's an odd one. Check your ActionBeanContext.getSourcePage() to see if it's
doing something different. The _sourcePage parameter is always encrypted for
security reasons starting with 1.5, and the tail end of that thing looks like
an encrypted string. The only way I would expect to see something like that is
if you did something like @UrlBinding("/user/{_sourcePage}").
-Ben
On Mon, Feb 23, 2009 at 7:17 AM, Morten Matras <[email protected]> wrote:
When updating to Stripes 1.5 from 1.4 I ran into problems when a user
submits a form where validation breaks.
It seems that the encoded source page parameter sends the user to a
wrong url when this happens.
How do I ensure that submits that does not validate sends the user
back to the source_page.
It seems I'm missing some configurational settings.
The user is send to a url like this:
/user/P_9-8i7nu7kAvsG714s0c8bbdgKBKqLjQKDl_dgt0tk=
Please point me to a fix of this.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
--
Morten Matras
Consultant
Blob Communication ApS
Svendsagervej 42
DK-5240 Odense NØ
P: (+45) 76 6-5-4-3-2-1
W: www.blobcom.com
E: [email protected]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users