Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

best approach for a Spring MVC implemenation

J Knurek
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm setting up the navigation for a content management system. The content is created and stored in its folder structure by the backend system. So basically a jsp page gets created that looks a bit like:

There are a few other things related to the users content that will require a Spring Controller (therefor ideally a MultiActionController). I'm still a bit new to Spring so the problem I'm facing is that I don't know how to get the page_id. Nor do I know how to set up the ViewResolver properly so that I'm not changing the url the user enters.

below is a bit of the code that I've been using so far in an attempt to get this working, but I've had to hard code some stuff in for testing purposes


What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!