Tomcat 4.0.4
Struts 1.1-b2
/--situation--/
The system hosts several sites, and one set of struts files.
Hi everybody,
forgive me to post a similar question as the one I just posted a couple of hours ago.
The system is not that big.
The idea is to host multiple sites on one system. But each site has a different folder of its on under the application root(Just the look of the URL.)
For example,
http://mysite.com/one_system/site1/login.do http://mysite.com/one_system/site2/login.do The app is installed under
$CATALINA_HOME/webapps/one_sysetm/
and above urls are directed to the same action. but ActionServlet (or Action) figure s out which site's the target and process the access accordingly.
module concept is not what I am lookig for.
The system is small, so I only need one struts-config.
I assume that it can be done by process the request URL in a basic
servlet way to figure out, but I thought there might be a way to define that on struts-config.
The whole mapping and url business confuse the hell out of me. I guess I am missing something really big, but I just don't know what that is.
I'd greatly appreciate your help.
Thank you.