Re: Keeping Session small using Validation

2005-09-14 Thread Sudhaker Raj
/--\ | Action | populates list \--/ | V /--\ | JSP/Tiles| \--/ The list is not being populated when validation fails as framework is throwing back request to JSP/Tiles without running the population code. This is very well expected

Re: Keeping Session small using Validation

2005-09-14 Thread Sudhaker Raj
it. On 9/14/05, Sudhaker Raj [EMAIL PROTECTED] wrote: /--\ | Action | populates list \--/ | V /--\ | JSP/Tiles| \--/ The list is not being populated when validation fails as framework is throwing back request to JSP/Tiles without

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Sudhaker Raj
U need AJAX to rescue you. On 8/26/05, Van Henreich Rontal [EMAIL PROTECTED] wrote: Hi, I'm not sure if this has been tackled already or it's a feature available to Struts cause I don't think it is normally use. I have all these messages on a webpage and at a certain point in time, I

Re: Executing java code w/out forwarding to another page

2005-08-26 Thread Sudhaker Raj
it.); Since you are not doing anything to handle the response, you will get errors. Like I said in my last mail, you need AJAX to do something without reloading the page. Check these: http://struts.sourceforge.net/ajaxtags/index.html http://openrico.org/rico/home.page On 8/26/05, Sudhaker Raj

Re: question about Struts html tags and Javascript getElementById

2005-08-22 Thread Sudhaker Raj
This works in IE, Hope this helps. Thanks. form name=myForm onsubmit=return checkMe(this); trinput type=file name=uploadedFiles[0] accept=image/jpg, image/jpeg value=/tr trinput type=file name=uploadedFiles[1] accept=image/jpg, image/jpeg value=/tr trinput type=file name=uploadedFiles[2]

Re: Struts Download Action

2005-08-21 Thread Sudhaker Raj
http://wiki.apache.org/struts/StrutsFileDownload is great, but in case you are using struts older than 1.2.6... You just return null from execute method, framework will not do any thing further. Now it is your responsibility to read the target file, set correct content-type and then write the

Re: Overriding the init() method in the Action Servlet.

2005-08-20 Thread Sudhaker Raj
You can try struts-plugin to execute startup code. I would avoid making changes in core behaviors if possible without changing them. On 8/20/05, Anuradha S.Athreya [EMAIL PROTECTED] wrote: Hello, I understand it is possible to override the init() method in the Action Servlet class. How

Re: [Friday] [somewhat-ajax-related] XMLHttpRequest scoping problems

2005-08-20 Thread Sudhaker Raj
You may want to check OpenRICO - http://openrico.org Cheers, On 8/19/05, David Durham [EMAIL PROTECTED] wrote: Hi -- There's been some traffic on this list involving XMLHttpRequests and javascript, and since it's Friday ... My problem: How to use multiple asynchronous requests