Hello,
I have 2 problems:
1. I need to do a redirection for my website in the following manner. How should I do it? I am using Tomcat server. Please note that there are urlrewrite.xml and web.xml files present on the server.
Current view: www.mydomain.com/blog/12345678
I want this to appear like: www.mydomain.com/blog/this-is-the-title-of-blog.html
2. I tried entering this code for 404 redirection towards my home page. But it does not work. How should I correct it?
<error-page>
<error-code>404</error-code>
<location>/index.jsp</location>
</error-page>
Thanks for helping me.
I have 2 problems:
1. I need to do a redirection for my website in the following manner. How should I do it? I am using Tomcat server. Please note that there are urlrewrite.xml and web.xml files present on the server.
Current view: www.mydomain.com/blog/12345678
I want this to appear like: www.mydomain.com/blog/this-is-the-title-of-blog.html
2. I tried entering this code for 404 redirection towards my home page. But it does not work. How should I correct it?
<error-page>
<error-code>404</error-code>
<location>/index.jsp</location>
</error-page>
Thanks for helping me.