• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

best approach for a Spring MVC implemenation

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

Controller:

DispatcherServlet:
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic