RE: switch action - doubt

2007-08-13 Thread Nagraj Rao
Are you submitting any request params or simply redirecting it to the new URL?? I hope simple re-directing should work. For that you can specify redirect=true as an attribute in the forward tag. -Original Message- From: Pooja Kaur [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007

Fw: FileUpload problem

2007-02-22 Thread Nagraj Rao
Has anybody faced this problem for multiple file-uploading earlier?? Please help. thanks regards Nagraj. - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:06 PM Subject: Fw: FileUpload problem Also i think i'm using the right

FileUpload problem

2007-02-21 Thread Nagraj Rao
Hi I've recently upgraded my app to work with Struts 2.0.5. Sometimes i'm getting this problem, specially when i try to upload 2 or more files concurrently java.lang.RuntimeException: Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest () - [unknown location]

Fw: FileUpload problem

2007-02-21 Thread Nagraj Rao
Also i think i'm using the right set of dependencies commons-io-1.3.1 commons-collection 3.2 commons-fileupload-1.1.1 - Original Message - From: Nagraj Rao To: Struts Users Mailing List Sent: Wednesday, February 21, 2007 5:04 PM Subject: FileUpload problem Hi I've recently

Re: [S2] how do I handle upload larger than struts.multipart.maxSize

2007-02-16 Thread Nagraj Rao
cant we override the max size in the struts.properties file... i guess we should be able to... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] getting servletContext in actions

2007-01-31 Thread Nagraj Rao
were u actually able to get the servletContext Object thru servletContextAware?? I'd tried it but couldn't get it :( do we need to do any additional stuff for that?? - Original Message - From: Jeffrey Hau [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent:

Re: [s2] file upload causing param problems

2007-01-31 Thread Nagraj Rao
oops.. its common-fileuploads-1.1.1.jar sorry for the mistake... - Original Message - From: bob [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, January 31, 2007 11:20 PM Subject: Re: [s2] file upload causing param problems commons-lang-1.1.1.jar? Well, I've

Re: [s2] file upload causing param problems

2007-01-30 Thread Nagraj Rao
Even i'm not sure what has been causing this. But probably you can just check your lib to contain commons-lang-1.1.1.jar instead of commons-lang.jar(remove this in case it exists). - Original Message - From: Dariusz Wojtas [EMAIL PROTECTED] To: Struts Users Mailing List

Re: Reading generated html

2007-01-24 Thread Nagraj Rao
Hi Marcello I guess Abhishek's right. You cant send a request object like that (atleast not in double quotes). Please check up that code. N - Original Message - From: Marcello Savino [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, January 24,

Re: R: Reading generated html

2007-01-24 Thread Nagraj Rao
Hi Marcello i'm bit confused on whether you wanna submit the content or set it into an object. Please guide me on that. i guess if you're capturing an HTML content in your jsp, which you need to submit, a simple form submit should work. In case you wanna set i to myObj object then u can make

Re: Latest Stable build for S2.0.2

2007-01-06 Thread Nagraj Rao
. On 1/5/07, Nagraj Rao [EMAIL PROTECTED] wrote: Hi all Where can i find a somewhat stable built for s2.0.2. I'm not talking about the current snapshots, but some built which is tagged as quiet stable. Please help me on that. Also is there any way from where i can directly get the Struts 2.0.2

Latest Stable build for S2.0.2

2007-01-05 Thread Nagraj Rao
Hi all Where can i find a somewhat stable built for s2.0.2. I'm not talking about the current snapshots, but some built which is tagged as quiet stable. Please help me on that. Also is there any way from where i can directly get the Struts 2.0.2 distribution (even with lesser features would

Problem with AJAX tags

2007-01-04 Thread Nagraj Rao
Hi all We're facing a problem with Struts +Ajax tags for getting to specify the href attribute in the submit tag as per given in one of the S2 documentation/tutorials. Please refer the link http://struts.apache.org/2.x/docs/ajax-tags.html and go to Prevent a request section where-in the

Re: [S2] Struts 2 GA Release Anytime Soon?

2006-12-21 Thread Nagraj Rao
Hi Ted Are there any AJAX Tags related issues in S2.0.1?? I'm currently migrating my project to 2.0.1, so in case there are any issues i'll start backing off. I got certain postings which were discussing DOJO issues in it to which i'm not much concerned right now. Overall i dont see any major

Struts2 with AJAX file upload??

2006-12-15 Thread Nagraj Rao
Hi guys I want to implement AJAX file upload in Struts2. tried searching over on the net, but couldn't find much. I have an AJAX based file uploader working in Struts1.x but i'm not able to migrate it to Struts2 due to some uncommon controller mappings (such as i'm not finding any conroller

Struts2 : Request found null with Multipart enc-type

2006-12-15 Thread Nagraj Rao
Hi all I'm facing a peculiar problem with one of my forms in Struts2. Whenever I submit the form uaing enc-type as multipart/form-data for file uploads, i'm unable to get any of the form fields in my action. If i remove the file widgets and enc-type attribute, i'm able to get all the form

Re: Struts2 : Request found null with Multipart enc-type

2006-12-15 Thread Nagraj Rao
that the interceptor stack you are using has the fileuploadinterceptor. Don On 12/15/06, Nagraj Rao [EMAIL PROTECTED] wrote: Hi all I'm facing a peculiar problem with one of my forms in Struts2. Whenever I submit the form uaing enc-type as multipart/form-data for file uploads, i'm unable to get

Re: Struts2 with AJAX file upload??

2006-12-15 Thread Nagraj Rao
] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, December 16, 2006 12:22 AM Subject: Re: Struts2 with AJAX file upload?? What do you mean by trying to find controller tags in struts.xml? How do you have it implemented in Struts 1? Don On 12/15/06, Nagraj Rao [EMAIL PROTECTED] wrote

Help for Struts2 with JSTL

2006-12-14 Thread Nagraj Rao
Hi Needed some help on struts2 for getting the id of a list i have in my sessionScope (say StateList). This individual object in this list is State which has fields id and name. I'm using the following code to get a checkbox rendered with its id being the id of the state s:checkbox

Re: validation

2006-12-10 Thread Nagraj Rao
i guess changing the theme of the form/field would do the trick. Also u can go for your own template that over-rides the default ones given for rendering the error messages on your form. u can try theme=html on the field n form tags... - Original Message - From: Chris Pratt [EMAIL