Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use Spring RequestMapping as rewrite rule engine

 
Sven Anderson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I understand RequestMapping doesn't offer a rule-based URL rewriting mechanism. Could you please to elaborate?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic