struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Wildcard mappings with subdirectories / folders?
Date Sun, 02 Aug 2009 16:10:30 GMT

did you notice the diff between
/WEB-INF/jsp/coconut/and
/WEB-INF/jsp/public
can you post your struts<-default>.xml
?
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.




> Date: Sat, 1 Aug 2009 23:25:52 -0700
> From: itamarbel@gmail.com
> To: user@struts.apache.org
> Subject: Re: Wildcard mappings with subdirectories / folders?
> 
> 
> Hello
> I have the same problem as yours.
> But I could not solve this.
> You did something aa beyond this?
> 
> Thanks
> Itamar Nunes
> Brazil
> 
> 
> Dave Belfer-Shevett-2 wrote:
> > 
> > On Wed, 18 Jun 2008, Dave Belfer-Shevett wrote:
> >> Hi folks - I'm trying to divide up my struts app into subdirectories (the
> >> application has a 'public' interface, and an 'administrative' interface
> >> called 'coconut'.  Don't ask).
> > 
> > And here I am answering my own question.  A little googling found me this 
> > gem:
> > 
> > <constant name="struts.enable.SlashesInActionNames" value="true" />
> > 
> > And that fixed it.  The following action entries work:
> > 
> >> 		<action name="coconut/*">
> >> 			<interceptor-ref name="mystack" />
> >> 			<result name="success">/WEB-INF/jsp/coconut/{1}.jsp</result>
> >> 			<result name="login">/WEB-INF/jsp/coconut/index.jsp</result>
> >> 		</action>
> >>
> >> 		<action name="public/*">
> >> 			<interceptor-ref name="mystack" />
> >> 			<result name="success">/WEB-INF/jsp/public/{1}.jsp</result>
> >> 			<result name="login">/WEB-INF/jsp/public/index.jsp</result>
> >> 		</action>
> > 
> > All fixed, thanks!
> > 
> >  	-d
> > 
> > -- 
> > -------------------.--------.-------------------------------.
> > Dave Belfer-Shevett \ KB1FWR \ JID: dbs@jabber.stonekeep.com \
> > blog:planet-geek.com >--------'-----------------------------------.
> > dbs@homeport.org    / Things you'll hear if you have a Klingon on  \
> > -------------------<   your development team: 3) "This code is a    |
> >                     |       piece of crap! You have no honor!"       |
> >                      \______________________________________________/
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/Wildcard-mappings-with-subdirectories---folders--tp17987316p24775300.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message