Hello, I have problem in struts 2. Here is my case:
To access the action, just type
http://localhost/project/home.action in browser.
The problem is, I have servlet and the servlet will be forward to that action (home.action). Here is my code:
I only just want to wrap the home action with one servlet (for SEO), but seems like it doesn't work. The browser said:
I'm sure I have done that in struts 1, which is redirect to "home.do", and it's work (I have tried before). But when I tried in struts 2, it said 404 not found.
My case is like the other case (I have googling, and found similar issue
http://coding.derkeiler.com/Archive/Java/comp.lang.java.programmer/2007-06/msg01416.html) I'm really appreciate anyone who want to help me. Sorry for my poor English. Thanks.