You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/10 10:10:02 UTC
why is better mapping /do/* than *.do
Subject: why is better mapping /do/* than *.do
From: "Ferran Parra" <fe...@mubimedia.com>
===
why is better mapping /do/* than *.do, i don't understand?? thanks!!
-------------------------------------------------------
Ferran Parra
ferran_p@mubimedia.com
http://www.mubimedia.com
MUBIMEDIA S.L.
C/ Mallorca, 275, 1r 2a 08008 BCN
Tel: 93 215 21 91 / Fax: 93 215 41 21
-------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: why is better mapping /do/* than *.do
Posted by Andy Lewis <aj...@ascii27.net>.
I've tried a variety of different mappings, and one of th e things I encountered that bothers me
is that Struts (at least the released version) doesn't deal well if your URLs contain no "."
Any suggestions for that? (I'm fairly new to Struts, so this might be a stupid quesiton)
> One argument is, if you need to manage donwload with
> an action, it's better to send data with a url like
>
> http://www.toto.com/app/do/file.txt
>
> than
>
> http://www.toto.com/app/file.do
>
> Extension is preserved.
>
> -Emmanuel
>
>
>
> --- Struts Newsgroup <st...@basebeans.com> a écrit :
>> Subject: why is better mapping /do/* than *.do
>> From: "Ferran Parra" <fe...@mubimedia.com>
>> ===
>> why is better mapping /do/* than *.do, i don't
>> understand?? thanks!!
>>
>>
> -------------------------------------------------------
>> Ferran Parra
>> ferran_p@mubimedia.com
>> http://www.mubimedia.com
>> MUBIMEDIA S.L.
>> C/ Mallorca, 275, 1r 2a 08008 BCN
>> Tel: 93 215 21 91 / Fax: 93 215 41 21
>>
> -------------------------------------------------------
>>
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org> For additional
> commands, e-mail: <ma...@jakarta.apache.org>
--
"The heights of genius are only measurable by the depths of stupidity."
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: why is better mapping /do/* than *.do
Posted by "emmanuel.boudrant" <b7...@yahoo.fr>.
One argument is, if you need to manage donwload with
an action, it's better to send data with a url like
http://www.toto.com/app/do/file.txt
than
http://www.toto.com/app/file.do
Extension is preserved.
-Emmanuel
--- Struts Newsgroup <st...@basebeans.com> a écrit :
> Subject: why is better mapping /do/* than *.do
> From: "Ferran Parra" <fe...@mubimedia.com>
> ===
> why is better mapping /do/* than *.do, i don't
> understand?? thanks!!
>
>
-------------------------------------------------------
> Ferran Parra
> ferran_p@mubimedia.com
> http://www.mubimedia.com
> MUBIMEDIA S.L.
> C/ Mallorca, 275, 1r 2a 08008 BCN
> Tel: 93 215 21 91 / Fax: 93 215 41 21
>
-------------------------------------------------------
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>