struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <hus...@apache.org>
Subject Re: Modules and path mapping (/do/*)
Date Sat, 04 Jan 2003 20:59:22 GMT
Something I've been meaning to try is to actual define the module as 
"/do/$MODULE", but I don't have any open projects that use modules to 
try this with =:(

-T.

Matt Raible wrote:
> I decided to try to get modules to work with path-mapping tonight with
> no luck.  I'll enter this into Bugzilla if you'd like.  Basically, I
> have a forward that switches to the module:
> 
> With extension mapping:
> 
>         <forward name="uploadResume" contextRelative="true"
>             path="/upload/index.do" redirect="true" />
> 
> With path mapping:
> 
>         <forward name="uploadResume" contextRelative="true"
>             path="/do/upload/index" redirect="true" />
> 
> Or at least, I think that's the logical configuration.  From the
> logging, I get:
> 
> ERROR [Thread-2] [org.apache.struts.action.RequestProcessor]
> RequestProcessor.processMapping(664) | Invalid path /upload
> /index was requested
> 
> In my "upload" module, I have the following "index" forward that I'm
> expecting it to hit:
> 
> <forward name="index" path="/do/index" />
> 
> I'm willing to try a couple hints if anyone has some.  My <controller>
> does not have a pagePattern defined.
> 
> Thanks,
> 
> Matt
> 


-- 
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>



--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message