Hi,

 

I am new to struts and played with the struts mail reader framework and could
not resolve the following puzzling, 

 

 

In Registration.jsp there is an iteration statement.

 

 

<logic:iterate id="subscription" name="user" property="subscriptions">

 

I searched on web and did some of my research, here is my understanding.

 

subscriptions is name of the collection we are going to iterate through.

 

Subscription is the JSP bean interface for each element.

 

User should be the name of the JSP bean contains the Subscriptions collection.

 

I found the MemoryUser class which contains the Subscriptions collection, User
just an interface,

I am not sure how the struts instantiate a MemoryUser class and then invoke the
createSubscription method of it.

 

There is MemoryUserCreateFactory class that seems call the createSubscription
method, but it did not

Have the source java file and seems automatically generated.

 

Can anyone elaborate on this?

 

Thanks

Pat

Reply via email to