aspose file tools
The moose likes Struts and the fly likes Problem with textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Problem with textarea" Watch "Problem with textarea" New topic
Author

Problem with textarea

Varsha Patil
Greenhorn

Joined: Jun 16, 2006
Posts: 19
Hi,

In my jsp i have two textarea fields(Mapped to two attributes present in the Form). I'm using <layout:textarea>. The user
is allowed to enter data in the two fields and save. After saving I need to display the same page with saved data in the two textarea fields.
But it is seen that after saving, the data is not getting displayed in the textarea.

I tried giving <c ut> to check whether the data was getting set in the Form's data object. I'm able to print the data with <c ut>. But I dont know why its not getting displayed in the textarea.

Can somebody resolve this

Thanks!
anand kumarblr
Greenhorn

Joined: Oct 27, 2006
Posts: 27
hi,
In my jsp i have two textarea fields(Mapped to two attributes present in the Form). I'm using <layout:textarea>. The user
is allowed to enter data in the two fields and save. After saving I need to display the same page with saved data in the two textarea fields.
But it is seen that after saving, the data is not getting displayed in the textarea.
solution:use <html:textarea> instead of <layout:textarea> and then try.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem with textarea
 
Similar Threads
Struts in Websphere Application Developer 5
Debug JSTL
JS + JSTL + HTML and escaping for double quotes
regarding c:if
JSTL forEach tag