hi, i'm really not sure if i should issue a bug, as it's just not implemented yet. had some thoughts about how that could be implemented using forwardPattern etc. but the problem is that this forwardPattern doesn't make much sense at all if it is used for ALL forwards (and not only for those who refer to a file/jsp; in the later case, how can the code distinguish between a forward to a file or any other type of URI before calculating the correct URI?).
kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com "2 Dinge sind unendlich: Das Universum und die Dummheit der Menschheit, aber beim Universum bin ich mir nicht so ganz sicher." Albert Einstein > -----Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Monday, January 30, 2006 4:25 PM > To: Struts Users Mailing List > Subject: Re: problem with forwardPattern and modules > > Günther, > > Can you file a Bugzilla issue for this? > > thanks, > Hubert > > On 1/30/06, Günther Wieser <[EMAIL PROTECTED]> wrote: > > hi, > > > > just for future reference (in case somebody searches for the same > > problem), i found the "solution" in the README.txt for verson 1.2.8. > > > > ================= > > KNOWN LIMITATIONS: > > ================= > > > > The following items identify functionality areas that have not yet > > been fully implemented or tested: > > > > * Use of the "forwardPattern" or "pagePattern" attributes on the > > <controller> element. > > > > seems to me this feature has not been implemented yet.... > > > > i was able to solve this by using tiles for page layouting, cause > > tiles doesn't use any module prefixes etc. but loads a jsp directly > > from the file system (while a "forward" action in struts-config.xml > > sends the servlet container the URI that is prefixed with > the module > > path, and the container loads the page/URI from filesystem). > > > > kr, > > guenther > > > > > > > > > -----Original Message----- > > > From: Günther Wieser [mailto:[EMAIL PROTECTED] > > > Sent: Friday, January 27, 2006 2:23 PM > > > To: 'Struts Users Mailing List' > > > Subject: problem with forwardPattern and modules > > > > > > hi, > > > > > > i'm trying to configure the controller using <controller > > > forwardPattern="/$P" pagePattern="/$P"/> > > > > > > so that it looks for jsp pages in the webroot folder, no > matter if > > > we are inside a module or not. > > > but whatever i enter in the forwardPattern or pagePattern > > > properties, no changes in the behaviour. > > > > > > went through the source code of 1.2.8, and in > > > RequestProcessort.internalModuleRelativeForward() i can see that > > > this methd doesn't take care of any patterns, just combines the > > > module prefix with the URI to get the new URI. > > > > > > any ideas? > > > > > > kr, > > > guenther > > > > > > -- > > > Günther Wieser > > > > > > creative-it > > > Guglgasse 6/1/11/1 > > > A-1110 Wien > > > Austria > > > http://www.creative-it.com > > > > > > "2 Dinge sind unendlich: Das Universum und die Dummheit der > > > Menschheit, aber beim Universum bin ich mir nicht so ganz sicher." > > > Albert Einstein > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]