The line of code in the jsp is something like this: <bean:write name="<%=formBean%>" property="name[53]" scope="request"/>
where 53 is a input parameter of getName(int size) method of FormBean. Get method is something like this... public void getName(int size){ return (this.sName.substring(0, size)); } This was working fine all this time... now when i change my JDK from 131_03 to 131_08, this doesnt work and throws error saying property 'name' is not indexed.... Thanks Naveen -----Original Message----- From: andrew.david.hill [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:58 PM To: struts-user Subject: RE: Passing an input from jsp using <bean:write tag You have posted this question like 50 billion times now with no response. I dont really understand exactly what your asking (perhaps due to lack of sleep?), and so havent tried answering. Possibly the same goes for many other people who have read it. Perhaps you could try rephrasing it a different way so that your problem is clearer to us all. Thanks. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 03:52 To: [EMAIL PROTECTED] Subject: Passing an input from jsp using <bean:write tag Hi, How do i send an input to one of my get methods in Formbean from my JSP... It is something like i have String of 10 chars and i want only the first five chars. This input will be send by jsp. Based on the input my get method should return a value. I was using something like this and it was working fine with jdk131_03 <bean:write name="user" property="username[1]"/> The same is not working with other versions of JDK. Thanks Naveen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]