File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts1 + datatable + json? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts1 + datatable + json?" Watch "struts1 + datatable + json?" New topic
Author

struts1 + datatable + json?

majid nakit
Ranch Hand

Joined: Jun 26, 2001
Posts: 161
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

Joined: Oct 23, 2006
Posts: 49
    
    1

There is an extra space in name attribute of logic:iterate tag.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts1 + datatable + json?
 
Similar Threads
Cannot find bean in any scope Error
Struts Logic Tag problem
Cannot find bean coursesList in any scope
How to retrieve the data from the database and display it on a jsp using struts
problem to get values in hasmap in bean:write