This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How can i rewrite url in struts2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How can i rewrite url in struts2?" Watch "How can i rewrite url in struts2?" New topic
Author

How can i rewrite url in struts2?

Kobe Luo
Greenhorn

Joined: Nov 30, 2007
Posts: 21
Somebody tell me to use urlrewritefilter to do this ,but if i use this ,i can not use the struts 2 core filter.
Because if urlrewritefilter rewrite the given url successfully, it will not invoke filterChain.dofilter() to pass request and response to the next filter in the filter chain.
how can i rewrite url in struts 2?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can i rewrite url in struts2?
 
Similar Threads
Make Servlet as the welcome page
htaccess and mod_rewrite issue
Servlet URL parameters
Got Problems with Tuckey UrlRewriteFilter and Spring 3 Web MVC
URL rewrite Struts2