This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error using struts (form-bean)  RSS feed

 
Rebecca Abraham
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to display the data from my form-bean in a jsp file called taskMaintenance.jsp using the following code:

<td>
<html:textarea property="tskDtlDescription" cols="50" rows="3" value="<bean:write name="taskList" property="tskDtlDescription"/>">
</html:textarea>
</td>

But, I am getting the following error:

org.apache.jasper.JasperException: /pages/user/taskMaintenance.jsp(101,105) equal symbol expected
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
.......


Could someone please help?

Thanks.

Rebecca
 
aitor alzola
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try something like this :
<html:textarea cols="50" rows="3" name="taskList" property="tskDtlDescription"/>
I think it´┐Żll work. Good luck!!
 
Rebecca Abraham
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot! It worked.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!