On Sat, 13 Apr 2002, Sandeep Takhar wrote:
> Date: Sat, 13 Apr 2002 10:19:59 -0700 (PDT)
> From: Sandeep Takhar <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> Subject: RE: /do/* instead of *.do in web.xml
>
> someone mentioned this earlier and I heard the same
> thing:
>
> /do/*
>
> does not work in struts 1.1
>
Only true for sub-app support -- it continues to work fine if you only
have one app.
> maybe they will fix it?
>
When someone figures out how :-).
Craig
> --- Phase Web and Multimedia <[EMAIL PROTECTED]> wrote:
> > It allows for a more logical approach to your
> > command structures. Of course,
> > I stopped useing *.do long ago. So, maybe it is that
> > way too. From what I
> > remember the *.do followed a filesystem type of
> > approach and acutally ties
> > you to your filesystem layout (I may be wrong).
> > Whereas the /do/* follows a
> > more logical command approach for example it makes a
> > lot more since to have:
> >
> > www.mydomain.com/do/admin/user/add/save
> >
> > Rather than
> >
> > www.mydomain.com/AdminUserAddSave.do
> >
> > With .do you can only go so long before you can't
> > make the name any longer.
> > It just gets confusing.
> >
> > /do/* also follow the more traditional (standard)
> > approach adopted by the
> > J2EE mapping. The reality is we are dealing with
> > mappings not one to one
> > relationships to classes or hard resources. If I am
> > mapping to a hard
> > resource then it is fine to use an extension. But,
> > if I am not. Well, then
> > the /do/* mapping just logically looks better. I
> > guess all in all it's a
> > preference thing. But, I think the /do/ is a lot
> > more eloquent and allows
> > you to see easier where you are logically in the
> > app.
> >
> > In the end applications are not about hard
> > resources. The hard resources are
> > there for the application. So the application should
> > be clear and logical.
> > That is why I like the /do/ command structure
> >
> > Brandon Goodin
> > Phase Web and Multimedia
> > P (406) 862-2245
> > F (406) 862-0354
> > [EMAIL PROTECTED]
> > http://www.phase.ws
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Thinh Doan [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 12, 2002 9:52 PM
> > To: Struts Users Mailing List
> > Subject: RE: /do/* instead of *.do in web.xml
> >
> >
> > "works way better" in what ways? Faster, easey code
> > maintenance...?
> >
> > Thkx,
> >
> > Thinh
> >
> > -----Original Message-----
> > From: Phase Web and Multimedia
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 12, 2002 7:20 PM
> > To: Struts Users Mailing List
> > Subject: RE: /do/* instead of *.do in web.xml
> >
> >
> > All I use id /do/ in my apps. It works way better. I
> > am not sure why the
> > examples don't follow this.
> >
> >
> > -----Original Message-----
> > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 12, 2002 12:41 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: /do/* instead of *.do in web.xml
> >
> >
> > yep.
> >
> > -----Original Message-----
> > From: jfc100 [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 12, 2002 2:28 PM
> > To: Struts-User
> > Subject: /do/* instead of *.do in web.xml
> >
> >
> > Hi,
> >
> > Has anyone managed to use /do/* instead of *.do
> > successfully in web.xml?
> > The struts catalog mentions a few benefits but I've
> > not managed to get
> > it to work yet. (*.do works but not /do/*).
> >
> > Any ideas?
> >
> > Thanks
> > Joe
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>