Hi Andy,
is multiple equal 2?
If so maybe the browser is doing it because it doesn't know everything
about this file - size comes to mind.
If i remember correctly some browsers will do that.
best greetings,
Pawel Wielgus.
2009/5/4, Andy :
>
> Hi, I have an action that returns a stream result type
will u make a tiny tutori for your work like struts-spring-ajax and
put in the wiki of S2
that will be awesome ;)
F
On Tue, May 5, 2009 at 10:17 AM, Mauricio Aniche
wrote:
> Wes,
>
> I just put the proxy-target-class="true", put all cglib and its dependencies
> and everything worked!
>
> Thanks
Hi all,
I'm new to struts 2, I download example for Struts 2 + Spring 2 + JPA + AJAX
from struts 2 website,
and then open the project from eclipse.
however in the index.jsp there are several Warning for undefined attribute
name, one of them is "Undefined attribute name notifyTopics"
in the follow
Wes,
I just put the proxy-target-class="true", put all cglib and its dependencies
and everything worked!
Thanks in advance,
Mauricio
On Fri, May 1, 2009 at 9:32 AM, Wes Wannemacher wrote:
> See if you can force Spring to use CGLIB proxies... JDK proxies are
> interface-based, so unless you are
On Monday 04 May 2009 11:49:02 am Andy Engle wrote:
> Hi all,
>
> I am using sslext in my Struts application to support http/https, and
> attempting to get all this to run on a Jetty server behind an Apache 2 web
> server. The application runs fine, but I am really running into trouble
> with my c
Hi, I have an action that returns a stream result type and for some reason my
action is getting called multiple times:
${attachmentContentType}
filename="${attachmentFileName}"
This causes some inefficiency since the action is retrieving an image from the
database on each call. IDeas?
Hello.
The cause of the bug seems to be a regex `regexInvalid` in BindDev.js,
which cuts out references to djConfig when concatenating together all
Hi,
I am using sx:textarea in several pages and the HTML visutal text editor
renders and works ok. I'd just like to make it have a simple border, like
every input type text or type textarea has. I'd like to do this directly and
avoid enclosing sx:textarea in some type of to make it
look have a re
have the admin of the prod box display for us the following details:
all jsp
source code for all ActionClasses
web.xml
all .tld configurations located in WEB-INF
./WEB-INF/classes/struts.xml
all of the included files included within struts.xml
WEB-INF/applicationContext.xml
Martin
Just re-forwarding your message to the list won't necessarily improve the
chances of its being responded to. Your message is hard to read and
understand. That is probably why no one responded to it in the first place.
It seems likely that the problem does not lie in your interceptor stack but
rat
-- Forwarded message --
From: srinivasa_v .
Date: Mon, May 4, 2009 at 11:45 AM
Subject: action call getting skiped
To: Struts Users Mailing List
Hi ALL,
I have list of emp details,I need to click on one of emp record,it will call
an action class get the details from db display
What do you mean by "not working"? Are you seeing:
Field {0} is required.
on your interface? If so, I suspect what you need to do is:
field.required=Field ''{0}'' is required.
field.numeric=Field ''{0}'' must be a number.
Since the new code runs the messages through MessageFormat, and
Message
using EL to access the stack/action is fine.
musachy
On Mon, May 4, 2009 at 3:48 PM, phillips1021 wrote:
>
> Martin thank you for the reply.
>
> Your idea:
>
>
>
>
> does not work with the JSecurity hasAnyRoles tag. The Struts 2 property tag
> and OGNL expresson do not work when placed as the
Martin thank you for the reply.
Your idea:
does not work with the JSecurity hasAnyRoles tag. The Struts 2 property tag
and OGNL expresson do not work when placed as the value for the name
attribute of the above tag.
Since I could not get a Struts 2 tag or OGNL expression to work for the na
Hi,
We are migrating our Struts 1.x application to Struts 2.1.6 and currently we
are using Struts Validation framework where the parameterized error messages
are picked up from the resource bundle.
field.required=Field '{0}' is required.
field.numeric=Field '{0}' must be a number.
Expected out
the default mechanism for passing information back and forth is string
for more complex datatypes you're going to have to build the interface yourself
assuming this is the method
protected boolean[] hasRoles(List roleIdentifiers,
AuthorizationInfo info)
The v
We are building a new web application that uses both JSecurity
(http://cwiki.apache.org/confluence/display/KI/Index, now known as Ki) and
Struts 2 (version 2.1.6).
In many of the JSPs for this application, we need to provide a dynamic
String value to the JSecurity tag library's hasAnyRoles tag.
Hi all,
I am using sslext in my Struts application to support http/https, and
attempting to get all this to run on a Jetty server behind an Apache 2 web
server. The application runs fine, but I am really running into trouble with
my configuration, particularly since sslext forwards to the spe
I believe you mean contentDisposition attachment, and specify the filename
like:
attachment; filename="document.pdf"
(*Chris*)
On Mon, May 4, 2009 at 7:34 AM, Martin Gainty wrote:
>
> yes the key is to specify the correct contentType param (in this case
> image/jpeg)
> and the correct conten
One option you can consider is to generate your jad file on the fly instead
of just returning a static jad. We do something similar but for different
reasons.
You could have a "static" jad file that is really a template with macros
that you expand before returning. This way the path to the jar f
yes the key is to specify the correct contentType param (in this case
image/jpeg)
and the correct contentDisposition (in this case filename)
inline can be used for small file transfers (under 4k)
image/jpeg
imageStream
filename="document.pdf"
1024
http://struts.apache.org/2.0.14/struts
Niklas Johansson wrote:
I guess the link you sent is pointing to a similar way of doing it as I did. This
is my reference: http://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html
It's unclear to me what this code does that the normal stream result
does not, but let me po
If MockStrutsTestCase is using Log4j then you can do something like this in
your test cases:
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
Logger.getLogger("org.apache.commons.digester.Digester").setLevel(Level.ERROR);
laredotornado wrote:
>
> Hi,
>
> I'm using the latest v
You need to use Map backed properties if you want to get this to work.
Take a look at this example and you should be able to adapt it.
http://www.vitarara.org/cms/struts_2_cookbook/updating_a_list_of_domain_entities
Basically your properties are a map with id and Question objects and then
strut
> Hi all,
>
> I have a page which iterates over a collection of questions,
> with each question having a number of radio buttons which can
> be used to select the answer to that question. For example:
>
> Question 1: Unanswered O Yes O No O
> Question 2: Unanswered O Yes O No O
> etc..
Hi all,
I have a page which iterates over a collection of questions, with each
question having a number of radio buttons which can be used to select the
answer to that question. For example:
Question 1: Unanswered O Yes O No O
Question 2: Unanswered O Yes O No O
etc..
If the question h
26 matches
Mail list logo