I am new to Tridion and learning DXA framework for my project.

I want to know how can I get page content from DXA framework for particular page request in a spring controller.

Can I use pageController or ContentProvider class. Please help to understand how to use DXA framework in spring MVC project.

  • can you add more information in your question specific to your scenario , DXA's PageController already gets the PageModel for all page requests using requestPath and ContentProvider, check code of these two classes, that should be helpful .
    – Ashutosh
    Commented Feb 2, 2016 at 6:55

1 Answer 1


I am assuming you have understanding of basic flow of DD4T based content model where Component Template is directly connected with component view and Page Template is directly connected with Page view in your MVC based application.

DXA 1.2 come up with a ready-made website solution in Java. If you setup the DXA website code and debug the whole application you can understand the overall content flow. For more detail on architecture and content flow, you can go through documentation available in SDL Docs site and other blogs available on DXA. To start with DXA this blog can help you.

  • Thanks Mukesh for valid input, i need to do some stuff in HTTP Request in spring controller before passing the request to DXA frame. Whether there is any option do to this.
    – user1817
    Commented Feb 3, 2016 at 4:25
  • Which kind of stuff do you want to do in Http request? You can check EntityController, PageController if you can do your stuff there.. Commented Feb 3, 2016 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.