Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Data from Struts ActionForm to a JSP

 
Brian Egger
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP that calls an ActionForm with a Collection, which gets it's data from a UseCase. But when I do a <logic resent for the ActionForm it does not proceed with the <logic:iterate of the Collection. I looked at the UseCase and the data is there. But I am guess that don't have it config'ed correctly. So some outside opinions would help. Thanks

code



any help would be great. Thanks in advance!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Brian!

I'm moving this to the Web Application Frameworks forum...
 
Roel De Nijs
Sheriff
Posts: 9822
101
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
brian,

if you add following line under the tag </logic:present>


is then the text "NOT PRESENT" shown in your jsp-file ? If so, try changing



into



or change



into

 
Brian Egger
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried it, but unfortunately it did not work. I know the class in notPresent now. So I am guessing that my ActionClass might be to blame.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic