Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts1 + datatable + json?

 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have used struts1 with datatable by sending an array from action to jsp the iterate through it, but now the action send a json string, my jsp is like this :




The action :




But when I run the code I got :

2013-12-16 13:33:54,668 [http-apr-8080-exec-18] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Monitoring].[action] - Servlet.service() for servlet [action] in context with path [/Monitoring] threw exception [javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/jsp/mqFteAgentStatusDetailPage.jsp': javax.servlet.jsp.JspException: Cannot find bean: "mqFTEAgentStatusDetail " in any scope] with root cause
javax.servlet.jsp.JspException: Cannot find bean: "mqFTEAgentStatusDetail " in any scope


Thanks, your help is appreciated.
 
Krishna Kanth
Ranch Hand
Posts: 49
1
Chrome Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is an extra space in name attribute of logic:iterate tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic