aspose file tools*
The moose likes Other Application Frameworks and the fly likes best approach for a Spring MVC implemenation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "best approach for a Spring MVC implemenation" Watch "best approach for a Spring MVC implemenation" New topic
Author

best approach for a Spring MVC implemenation

J Knurek
Greenhorn

Joined: Oct 04, 2008
Posts: 5
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:
 
Don't get me started about those stupid light bulbs.
 
subject: best approach for a Spring MVC implemenation