Hi,
Seems to be a stupid question, sorry.
But since all JSPs must not be accessed in
struts directly (is it true?) but through actions, is it some kind of uncomfortable? For example i've got menu in my application like "create quote", "update quote", "create deal" etc. So i have to have action class for each page to call it through action mapping like createQuote.do or smth. Then each page with form will have FormBean and another action which will control this page after submit. So i've got 2 actions: 1 to get to this
jsp, second to submit it.
Then if i need page which will just display some table from database (like display all users), can i directly call some function from some class which returns Collection and then iterate it? Seems that this collection must be puted to request by action. Is it true?
Sorry, im just started to use struts, dont be too strict