Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8226781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:53:42+00:00 2026-06-07T15:53:42+00:00

Typically, the Spring webflow configuration is imported from application-context.xml : <?xml version=1.0 encoding=UTF-8?> <beans

  • 0

Typically, the Spring webflow configuration is imported from application-context.xml:

<?xml version="1.0" encoding="UTF-8"?>
<beans .../>

    ....

    <import resource="config/webflow-config.xml" />

</beans>

But in spring 3.1, it is possible to perform all configuration from Java with @Configuration and get rid of application-context.xml.

I have the following for my web configuration:

@Configuration
@Import({ MyConfig1.class, MyConfig2.class })
public class WebConfig extends WebMvcConfigurerAdapter {

    ...

}

Is it possible to get rid of webflow-config.xml too using @Configuration? If yes how? If no, how to get my web configuration to include webflow-config.xml?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:53:44+00:00Added an answer on June 7, 2026 at 3:53 pm

    The latest Spring Webflow does not support defining flows through @Configuration, you will have to define the flows as XML and import it into a @Configuration file.

    You can use @ImportResource to import a webflow.xml file into a @Configuration File:

    @ImportResource("/WEB-INF/web/webflow.xml")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From wikipedia : During each sprint, typically a two to four week period (with
Typically you start a service like this Intent i = new Intent(context,MessageService.class); context.startService(i); but
When returning data from a DataReader I would typically use the ordinal reference on
After writing and reading an xml string to and from a stream, it ceases
I typically use groovy to construct simple bean but the Spring IDE plugin to
My application source its Datasource settings from a properties file. When I start Tomcat
I am integrating the displaytag library into my Spring MVC Application. I am using
The current application I'm working on is a traditional J2EE application from 2003!, with
I have a string which typically is in the format : 0xFF . I'll
Possible Duplicate: Python: Get object by id Typically when you see the string representation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.