I can't seem to find any indication where this ever wound up from
several months ago, but I found the same issue independently after
making the (poor) assumption that a statically assigned parameter
wouldn't be overridden by a request parameter. I did some searching and
found this thread.
Li
type which is better than the original
proposed single URL for every resource type.
Thanks!
Martin-
- Original Message -
From: "Dale Newfield" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, December 08, 2007 9:40 AM
Subject: Re: [s
Dale Newfield wrote:
But are commas url friendly? I.E.: Is this bad?
http://mymachine/myapp/users/friendOf/amy,joe/attendedEvent/BobsBirthday.html
I think http://www.ietf.org/rfc/rfc3986.txt says that this is OK.
-Dale
-
T
Dale Newfield wrote:
org.apache.jasper.JasperException:
Validation error messages from TagLibraryValidator
org.xml.sax.SAXParseException: Attribute "testAttribute" was already
specified for element "myTagLib:myTag".
Argh! It's not valid. (Glad I checked before getting too far on this!)
B
Dale Newfield wrote:
Jeromy Evans wrote:
Wouldn't it be the case for most people that specify params in the
action definition that they wouldn't want those overridden by
request params?
I don't know the history but I think you make a good point.
It a couple more people agree I'll create a JI
Jeromy Evans wrote:
Should I just send all "/widgets/*" to a single action that does it's own URL
parsing?
I think this is an argument for a custom action mapper that supports
your expressions. It's up to the mapper to parse the URL to extract the
namespace, action and params.
I thought t
t;Dale Newfield" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, December 08, 2007 9:40 AM
Subject: Re: [struts] params and staticParams
> Martin Gainty wrote:
> > Could you give us a definition of SmartURL ?
>
> I'm fuzzy on this, but t
Martin Gainty wrote:
Could you give us a definition of SmartURL ?
I'm fuzzy on this, but the best I've got is:
http://cwiki.apache.org/S2PLUGINS/smarturls-plugin.html
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Could you give us a definition of SmartURL ?
Thanks
Martin--
- Original Message -
From: "Jeromy Evans" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, December 08, 2007 3:50 AM
Subject: Re: [struts] params and staticParams
> Dale Newfie
Dale Newfield wrote:
Lets see if I can come up with an off-the-cuff example:
Ok, I see what you're doing now.
Because I still can't find people that are friends with both joe and amy:
http://localhost:8080/social-networking-app-de-jur/users/friendsOf/joe/friendsOf/amy.html
because one con
Jeromy Evans wrote:
Wouldn't it be the case for most people that specify params in the
action definition that they wouldn't want those overridden by
request params?
I don't know the history but I think you make a good point.
It a couple more people agree I'll create a JIRA issue and post a pa
Dale Newfield wrote:
Using the staticParams interceptor that should be straightforward.
Except that in the default stacks, an instance of "params" follows
"staticParams", which would allow these action definitions to be
overridden (which I don't want). I will change the order in my own
stack
I'm about to change the order of these two interceptors in my
application, and I thought I'd ask about this use case, and find out why
the order is as it is right now in struts-default.xml.
I've got a fairly generic "get a piece of a list of " action, and I
think I've settled on creating a
13 matches
Mail list logo