This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: best approach for a Spring MVC implemenation
 
It's not a secret anymore!