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)
but,it is giving exception in log 14:51:03,558 WARN [OgnlUtil] Caught OgnlException while setting property 'serviceid' on type 'org.apache.struts2.dispatcher.ServletRedirectResult'. ognl.NoSuchPropertyException: org.apache.struts2.dispatcher.ServletRedirectResult.service Do i know what it tries

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