Shankar Tanikella wrote:Hi Jaun, since you are setting the list in session as below
mention scope="session" in all the places in JSP where ever it is being used. For example,
Anyways, why would you need overload your session with a list? why wont don't you use use request instead?
However, the above should work for you
Rajagopal Mani wrote:Hi Jaun, Please note the logical form-bean name & session attribute name are same which may lead fail. Remove the line where the collection links set in session scope & try.
Shankar Tanikella wrote:Ha, firstly use html:form in your JSP and try whatever you tried before using request, it would be similar to below code
Actually, you need not set the form in the request while using html:form
Shankar Tanikella wrote:Are you sure that execute method is not being called? anyways, try this piece of code in your action just to very what is happeningAnd to see the list size in your JSP add some text within the iterate tag and see if it is entering the loop(just in case)
Shankar Tanikella wrote:Interesting, Could you share the latest code snippets for
1. the method in action class
2. the form bean (if it is changed to the earlier)
3. the JSP code used to display
There is some small and silly thing that we are missing, we shall dig it this time
permaculture is largely about replacing oil with people. And one tiny ad:
Two software engineers solve most of the world's problems in one K&R sized bookhttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton