Hello all,
I have a requirement where I have to show a form either in update mode or add mode.
Hence I am making use of ActionForm so that in add mode, form values will be null and empty text boxes will be shown to the user.
in update mode, I am setting the values to the Actionform so that these can be shown in the text fields for update.
In my UI there are couple of fields that are readonly, The text to be shown can be of any length. So, I have to truncate the text to specific number of characters and show complete text in the tooltip.
Now my problem is, how will I be able to get the form field value into a
java variable in my
JSP so as to truncate the value.
I have tried usign <bean:
struts> which is used to get the struts internal values, But it did not work.
I also got exceptions when I used <bean
efine>
Can anyone please help me in solving my problem
Thank you