java - Spring WebFlow - problem with rest mapping -


i have problem mapping in spring webflow 2.3.0

i got error when want excute:

http://localhost:8090/mywebapp/register/other

http://localhost:8090/mywebapp/verify or http://localhost:8090/mywebapp/register etc works

can help?

<bean class="org.springframework.web.servlet.handler.simpleurlhandlermapping">         <property name="order">             <value>1</value>         </property>         <property name="mappings">             <value>                 /register=flowcontroller                 /verify=flowcontroller                 /forgotpassword=flowcontroller                  /register/other=flowcontroller                  </value>         </property>         <property name="alwaysusefullpath" value="true" />     </bean>  ...  <webflow:flow-registry id="flowregistry"         flow-builder-services="flowbuilderservices">         <webflow:flow-location id="verify" path="/web-inf/flows/verify.xml"></webflow:flow-location>         <webflow:flow-location id="register" path="/web-inf/flows/register.xml"></webflow:flow-location>         <webflow:flow-location id="changelang" path="/web-inf/flows/changelang.xml"></webflow:flow-location>         <webflow:flow-location id="forgotpassword" path="/web-inf/flows/forgotpassword.xml"></webflow:flow-location>         <webflow:flow-location id="register/other" path="/web-inf/flows/other.xml"></webflow:flow-location>     </webflow:flow-registry> 

i got error in runtime:

http://localhost:8090/mywebapp/register/other

org.springframework.webflow.definition.registry.nosuchflowdefinitionexception: no flow definition 'other' found

webflow not restful - you're looking impossible. see, example, this topic consider using spring mvc instead, has much more opportunities building restful applications


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -