Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
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

Re: Can't find utils.js

2014-11-12 Thread Lukasz Lenart
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/ -

Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
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

Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
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

Can't find utils.js

2014-11-12 Thread 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 /* Any idea why the file can't be found? Cheers, Paul

Re: Tracking down a "StreamResult error"??

2014-11-12 Thread Chris Pratt
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.

Tracking down a "StreamResult error"??

2014-11-12 Thread Burton Rhodes
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

Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
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/ --

Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
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

Re: s:form does not output the correct path to action

2014-11-12 Thread Lukasz Lenart
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

How to predict wildcard mapping matching order when using Struts annotations

2014-11-12 Thread Jim deVos
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