DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22142>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22142

Impossible to return to root module from sub-module?

           Summary: Impossible to return to root module from sub-module?
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have attempted to configure an application with multiple modules.  The main
module defines actions such as login.do, logout.do and home.do.  The sub-modules
allow users to participate in online activities using actions like
chatactivity/register.do and chatactivity/changerooms.do.  I have created global
forwards in both modules that point to "/home.do", "/login.do" and "/logout.do".
 These are intended to direct the user back to the main module. But these
actions are interpreted relative to the module's path, so the forwards from
within the 'chatactivity' module don't actually return the user to the main
module, they attempt to access "chatactivity/login.do", etc.
There is no mechanism, that I can see, to forge a link back to the main module
without specifying the absolute URL.  Using URLs like "../login.do" and
"/../login.do" do not work.  The first is rejected since it does not begin with
a '/' and the second interprets '..' as a module name, not a relative directory
shortcut.

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

Reply via email to