Hello everyone,
i am very new to struts and i have the following question about modules
(i work at struts 1.2.9):

I am trying to make a module named: mod1 ,so i have the following setup:

[AT: struts-config.xml]
    <global-forwards>
        <forward name="gotoMod" path="/mod1/index.do" />
    </global-forwards>


[AT: structs-config-mod1.xml]
        <global-forwards>
        <forward name="goToDefaultModule" contextRelative="true" 
path="/index.do"/>
        </global-forwards>


[AT: struct-config.xml]
    <action-mappings type =....>
<action path="/index" forward="/index.jsp"/>
    </action-mappings>


[and of course everything in order in web.xml]

all according to the simple module switching example and they work 'good',
that is i can write: "localhost:8080/mod1/index.do" and it goes to the
module's page.

However, what i want to do is put the module directory inside the WEB-INF
and have it still work (now it is in the same folder as WEB-INF in
order for it to work).

I searched through the documentation, google and the mailing-list but i
was unable to find a good example or how-to for this exact problem.

Every bit of help is appreciated,
Spiros K.


PS: forwardPattern seems to be a solution, but i am unable to make it
work...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to