struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject RE: Modules and path mapping (/do/*)
Date Sat, 04 Jan 2003 14:22:53 GMT

http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg11133.html

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg35941.html


--
James Mitchell
Software Engineer/Open Source Evangelist
http://www.open-tools.org

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg." 
- Bjarne Stroustrup


> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com] 
> Sent: Saturday, January 04, 2003 5:30 AM
> To: struts-dev@jakarta.apache.org
> Subject: Modules and path mapping (/do/*)
> 
> 
> 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
> 


--
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