This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Spring and the fly likes Use Spring RequestMapping as rewrite rule engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Use Spring RequestMapping as rewrite rule engine" Watch "Use Spring RequestMapping as rewrite rule engine" New topic
Author

Use Spring RequestMapping as rewrite rule engine

Sven Anderson
Ranch Hand

Joined: Apr 14, 2004
Posts: 58
Hi,

We're currently writing a webapp using Spring MVC which is going to run on Tomcat 6 and Apache httpd. Given that Spring is providing us with HTTP RequestMapping functionality made me think using Apache's mod_rewrite module is unnecessary. Are there any good reasons (architectural/security reasons etc) for keeping rewrite functionality in Apache? Note, that our rewrite requirements so far are quite basic. I'm not sure and don't think Spring caters for the more complex forms of rewrite. It would be interesting to get other peoples opinion on this.

Thanks
S
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
As I understand RequestMapping doesn't offer a rule-based URL rewriting mechanism. Could you please to elaborate?


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use Spring RequestMapping as rewrite rule engine
 
Similar Threads
Spring annotation no handler found
Spring MVC
Spring 3 MVC: Controller/Action/Parameters convention?
static url
What is the term? A redirect at the server level...