When struts encounters a URI that matches multiple wildcard mappings it
chooses the most recent match (ie. "the last one wins" ). As a result, I
should define less-specific patterns before the more specific patterns.
This is simple enough when using XML-based config, but I'm not sure how it
work
2014-11-10 15:45 GMT+01:00 Peter Björkman :
> Thanks for your reply! Yes I've read that, and I have those other two
> configs also:
>
>
>
>
>
> The action that the form is pointing to is completely unrelated and has no
> wildcards in the action name, so I don't think it should be affected by
> t
2014-11-10 15:22 GMT+01:00 Peter Björkman :
> Hi! Just changed my config to enable regex in action names. In struts.xml:
>
>
>
> Works great! But as a side effect, s:forms no longer outputs the correct
> path to my actions.
>
> The code below:
>
> "multipart/form-data" method="post">
this missin
2014-11-12 12:22 GMT+01:00 Lukasz Lenart :
>> > "multipart/form-data" method="post">
>
> this missing "namespace" attribute
This is the key problem here - you must specify this attribute when
referencing action outside its package
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
I am having trouble tracking down an error we are experiencing on our
production server. This happens very rarely, but every once in a while we
will get flooded with 75+ error logs in about a 1 minute span with the
errors below. Having trouble identifying which action and/or class is
causing the
You may already realize this, but I believe this is what is happening:
You have an action defined to use the stream result type. The stream
result requires an InputStream to be available on the stack when it starts
processing. This is usually provided by a getInputStream() method on the
action.
Using outputs a link to utils.js:
But the file can't be found. FYI, I have no action extension and the filter
processes /*
Any idea why the file can't be found?
Cheers,
Paul
Okay, I solved it. I found a "solution" in the wee bottom of this page:
http://stackoverflow.com/questions/12607075/struts2-action-extension-causing-css-javascript-and-struts-dojo-to-break
Now this solution makes no sense. It smells of a bug to me. The solution is
to make the action extension a co
FYI, I created an issue to track this:
https://issues.apache.org/jira/browse/WW-4418
Cheers,
Paul
On Wed, Nov 12, 2014 at 3:27 PM, Paul Benedict wrote:
> Okay, I solved it. I found a "solution" in the wee bottom of this page:
>
> http://stackoverflow.com/questions/12607075/struts2-action-extens
2014-11-12 21:45 GMT+01:00 Paul Benedict :
> Using outputs a link to utils.js:
>
>
>
> But the file can't be found. FYI, I have no action extension and the filter
> processes /*
What's your exact configuration?
?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
Yes... but now it's ","
Cheers,
Paul
On Thu, Nov 13, 2014 at 12:40 AM, Lukasz Lenart
wrote:
> 2014-11-12 21:45 GMT+01:00 Paul Benedict :
> > Using outputs a link to utils.js:
> >
> >
> >
> > But the file can't be found. FYI, I have no action extension and the
> filter
> > processes /*
>
> Wh
11 matches
Mail list logo