gudii9
asked on
how to redirect the url
Hi,
I have following application URL (say url1) which the user enter in browser like
http://localhost:9080/xyz/testapp
I need to redirect it to following url ( say url2) to bring up the application
http://localhost:9080/xyz/testapp/testapp.do
How can i redirect the url1 to url2 with minimum code change. Ours is struts application. Any links, resources, ideas, sample code highly appreciated. Thanks in advance.
I have following application URL (say url1) which the user enter in browser like
http://localhost:9080/xyz/testapp
I need to redirect it to following url ( say url2) to bring up the application
http://localhost:9080/xyz/testapp/testapp.do
How can i redirect the url1 to url2 with minimum code change. Ours is struts application. Any links, resources, ideas, sample code highly appreciated. Thanks in advance.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
a rewrite rule will do that for you
ASKER
how to write rewrite rule? is that is same as mod_rewrite rule done by webserver? Please advise
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much