Hi all, I am facing problems in redirecting... I have a jsp file in tomcat root webapps named X.jsp i want to redirect any request of pattern localhost:8080/X?u=(url) to localhost:8080/X.jsp?u=(url).. How can i do this..can any one help me in rewrite rule...is domain other than localhost will be a problem??
Maybe something like this in .htaccess?: RewriteEngine on RewriteRule ^X?u=(.+) X.jsp?u=$1 [nc] Code (markup):