g.String;@d1f2da5'
> ognl.ExpressionSyntaxException: Malformed OGNL expression: {5543}
> _traineeKmNumbers [ognl.ParseException: Encountered "_traineeKmNumbers" at
> line 1, column 7.
>
> Is the usage of curly braces in parameters name a problem?
>
> cheers
>
>
s name a problem?
cheers
--
View this message in context:
http://www.nabble.com/Struts-2.1.2---Xwork-2.1.1-ParametersInterceptor-ERROR-tp21325653p21325653.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
The referenced tutorial looks fine.
I'd remove the interceptor first and ensure everything works without
it. (confirm that you can post to the index action)
Then add the login and see if that causes the exception.
I'd probably insert the login interceptor before the param interceptor
myself a
Hi,
struts-default.xml
Thanks,
Nuwan
hezjing wrote:
Actually, I'm following the tutorial described at
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor.
May I know which file that is showing the Struts2 default interceptor stack?
Thanks for your help!
On 2/5/08, J
Actually, I'm following the tutorial described at
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor.
May I know which file that is showing the Struts2 default interceptor stack?
Thanks for your help!
On 2/5/08, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> That looks fine.
That looks fine. Do you have an action called index in the default
namespace? It's calling ActionSupport which is the default/fallback
action under some circumstances.
You may need to go back to the default interceptor stack to isolate
what's wrong. Or post the package from struts.xml here.
Hmmm ... my login.jsp now looks like this,
When the login button is pressed, the following exceptions are shown
in the console,
com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters
SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception
caught setting
It depends what your interceptor is trying to do...
At the moment, I still think params is trying to call
getButton().setLogin(val) on your ACTION (prior to execution of your
login interceptor).
I presume your interceptor is going to check the params or session and
redirect if not authenticated
The "button.login" is a key in i18n properties file, and it is suppose
to retrieve the label for a button.
I suspect this problem could be the interceptor statck I configured,
// my interceptor
A param called "button.login" means the ParametersInterceptor has to
call getButton().setLogin(val).
If you don't have a getButton() method, or getButton() returns null, an
exception like this occurs while trying to set the parameter.
hezjing wrote:
Hi
I'm trying to create a login interce
Hi
I'm trying to create a login interceptor.
When a login form is submitted, I got the following exception:
com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters
SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception
caught setting 'button.login' on 'class
com.op
http-8383-Processor22]
>> ParametersInterceptor - [setParameters]: Unexpected Exception caught
>> setting
>> 'existingProductOfferings[0].productOffering.name' on 'class
>> com.teliasonera.serf.web.serviceprovider.AgreementAction: Error setting
>> expression 'existingProductOfferings[0].productOffering.name'
name' on 'class
>> com.teliasonera.serf.web.serviceprovider.AgreementAction: Error setting
>> expression 'existingProductOfferings[0].productOffering.name' with value
>> '[Ljava.lang.String;@14ae5cd'
>>
>>
Try adding a conversions.properties file to your action.
kris16 wrote:
Hi,
we have problems with setting HIDDEN values in an array list on a web page.
The problem code in the jsp page looks like this:
The problem seems to be that the object that are to be set is a list,
@14ae5cd'
Is this a bug in the new libraries ?
/Regards Krister
--
View this message in context:
http://www.nabble.com/Gets-ParametersInterceptor-error-when-trying-to-set-values-in-a-list%2C-eg.-tmpList-0-.name-tf3927728.html#a1
;
>> Any Idea what is going wrong? and how to fix it. I am using Struts 2.0.6.
>>
>> Thanks in advance.
>>
>>
>> Regards
>>
>>
>> Syed Ali
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ParametersInterceptor-Error-tf3351
s]: Unexpected Exception catched: Error
setting expression 'field1' with value '[Ljava.lang.String;@1d15d1c'.
Any Idea what is going wrong? and how to fix it. I am using Struts 2.0.6.
Thanks in advance.
Regards
Syed Ali
--
View this message in context:
http://www.nabble.co
to fix it. I am using Struts 2.0.6.
Thanks in advance.
Regards
Syed Ali
--
View this message in context:
http://www.nabble.com/ParametersInterceptor-Error-tf3351790.html#a9320764
Sent from the Struts - User mailing list archive at Nabble.com.
--
to fix it. I am using Struts 2.0.6.
Thanks in advance.
Regards
Syed Ali
--
View this message in context:
http://www.nabble.com/ParametersInterceptor-Error-tf3351752.html#a9320645
Sent from the Struts - User mailing list archive at Nabble.com.
to fix it. I am using Struts 2.0.6.
Thanks in advance.
Regards
Syed Ali
--
View this message in context:
http://www.nabble.com/ParametersInterceptor-Error-tf3351751.html#a9320642
Sent from the Struts - User mailing list archive at Nabble.com.
20 matches
Mail list logo