Re: Automatic form submission using javascript in struts2

2007-12-13 Thread Ted Husted
In production, it's better to set the logging level to ERROR, so that all the OGNL warnings aren't recorded. Once it doesn't find the property on ServletRedirectResult, the system should append systemId as a parameter to the redirect URL. -- HTH, Ted * On Dec 13,

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread Dave Newton
--- "jignesh(india)" <[EMAIL PROTECTED]> wrote: > but,it is giving exception in log Technically, that's a warning. > 14:51:03,558 WARN [OgnlUtil] Caught OgnlException while setting property > 'serviceid' on type 'org.apache.struts2.dispatcher.ServletRedirectResult'. > ognl.NoSuchPropertyExceptio

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread jignesh(india)
php"; id="frmid"> >> >> >> >> >> >> >> <!-- >> document.forms[0].submit(); >> //--> >> >> >> Each time page loaded it calls the script but giving javascript error >> message- >>

Re: Automatic form submission using javascript in struts2

2007-12-07 Thread Ted Husted
There doesn't appear to be anything wrong with the script. You might try it from another workstation. As to the underlying use case, it appears that we would like to open a PHP page form a Struts Action. Another way to do that in Struts 2 would be to redirect with parameters. Something like this

Automatic form submission using javascript in struts2

2007-12-06 Thread jignesh(india)
pt error message- Error:- document.forms[0].submit is not a function //--> Thanks in advanced. -- View this message in context: http://www.nabble.com/Automatic-form-submission-using-javascript-in-struts2-tf4960335.html#a14207071 Sent from the Struts - User mailing