Re: DownloadAction and concurrent threads

2006-09-14 Thread David Grundberg
I see no reason why the DownloadAction would be programmed to synchronize against anything, especially for the whole download, that would be a real showstopper! If you don't use instance variables, and only read from a database (with a connection for each download) or a filesystem, you wouldn't

Re: FormFile arrays

2006-09-12 Thread David Grundberg
You are right about the jakarta commons fileupload and struts, you can't use commons fileupload in an action, because struts have already taken care of the multi-part parsing. You do have the option to make a servlet and commons fileupload, where you will have total control of the form data. I'

Re: using tag in scriptlet

2006-09-11 Thread David Grundberg
I would try using " instead of ' as value delimiter. (key="test.hello" instead of key='test.hello') Have you set up the resource bundle in strutsconfig? [EMAIL PROTECTED] wrote: Hi Everybody, i have a struts application which gives multilanguage support. And i want to a assign a property fil

Re: Constructor of Action is executed but getting a blank screen

2006-09-11 Thread David Grundberg
Try overriding "execute", not "excecute" :) krishan rathi wrote: hi all Infact the constructor of Action is called but i am getting a blank screen and in the log file just getting the SOP in the constructor not even getting the Sop in the Exceute method. plz help Thanks krishan ra

Re: How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
I got it working know, with no action chaining, and with redirects. The reason why I'm not using "roles" and J2EE security is because I haven't been able to figure out it is meant to work, and I just thought it would be easier to do myself. Any tips on how to start with the standard security a

Re: How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
is bad ;), but second, Struts 1.3 at least, and perhaps 1.2 automatically saves the original request uri for you. Look in the request under the o.a.struts.Globals.ORIGINAL_REQUEST_URI key. Don On 9/10/06, David Grundberg <[EMAIL PROTECTED]> wrote: You are absolutely right about that, I

Re: How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
ge is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "David Grundberg" To: "Struts Users Mailing List"

Re: How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
or append it as a request parameter to list.do. Not sure if there is a better way though. Adam David Grundberg wrote: Hi, I want to do something like this: 1. User enters http://localhost/appname/welcome.do 2. PlaceAction forwards to list.do 3. In ListAction, I want to retrieve the URL t

Re: How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
Martin Gainty skrev: http://www.docjar.com/docs/api/org/apache/struts/action/Action.html#execute(org.apache.struts.action.ActionMapping,%20org.apache.struts.action.ActionForm,%20javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse) The second parameter of the Action exe

Re: Double Execution of Struts Actions

2006-09-10 Thread David Grundberg
Daniel Chacón Sánchez skrev: I understand all that, but It not have to happen, fot me its a bug, because the action don´t have to be call twice, no matter that the property of the td was wrong Use instead of . When you ask the browser to request the background image "#ff", the browser

How do I get the original RequestURI?

2006-09-10 Thread David Grundberg
Hi, I want to do something like this: 1. User enters http://localhost/appname/welcome.do 2. PlaceAction forwards to list.do 3. In ListAction, I want to retrieve the URL the user entered "/appname/welcome.do". The problem: when I run getRequestURI in the ListAction, all I get is "/appname/list

Re: Token is wrapped by

2006-09-05 Thread David Grundberg
MC Moisei wrote: That implies I cannot have divs without class or id... David Grundberg wrote: Try to specify the stylesheet for this specific tag to "display:none;" It should remedy the problem. Well, I suppose you'll have to use some tricks to make it work. div

Re: Token is wrapped by

2006-09-05 Thread David Grundberg
Antonio Petrelli wrote: MC Moisei ha scritto: When I use with tokens the hidden token is wrapped by div. Is there a reason for that ? It messes up my layout and seems that Firefox is most affected by the div... I think you're right, AFAIK usually the tag adds also a new-line. I think th