Re: Keeping Session small using Validation

2005-09-14 Thread Sudhaker Raj
recycle 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

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 beh

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

2005-08-26 Thread Sudhaker Raj
gt; > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Cheers, Sudhaker Raj http://thej2ee.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 t

Re: question about Struts html tags and Javascript getElementById

2005-08-22 Thread Sudhaker Raj
This works in IE, Hope this helps. Thanks. var checkMe = function(thisForm) { alert(thisForm.elements['uploadedFiles[0]'].value); return false; }; On 8/22/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Gordon Hu wrote: > > > > > > > > I was asking as a subtle hin

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 cont

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 sim

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