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]

Reply via email to