• Welcome to KonaKart Community Forum. Please login or sign up.
 

Setting up redirects

Started by xzistance, December 22, 2008, 06:54:26 pm

Previous topic - Next topic

xzistance

Hey everyone-

I'm trying to figure out where and how in the main KK struts definitions I can setup redirects. For example, the KK app I'm developing for a client needs to handle old URLs and then forward to its new appropriate KK URL.

So, for example, most of the old URLs use the URL:
index.asp?PageAction=xxxetcxxx

I'm just trying to set up a simple example of putting in a wild card where the app catches every URL attempt to /index.asp and has some class handle it and forward.

Can anyone help me get started/point me in the right direction? I'm pretty new to struts and have been researching and doing some trial-and-error tests, but no luck thus far.

Thanks a lot in advance!

xzistance

Nevermind guys, I figured it out by creating a new Servlet class and setting it up in web.xml to handle url-mappings for *.asp