Thanks for your replay, i have read article.
I dont want to open unnecessary topic for my second question. Probably this question is posted before, i don't know what to search for.
i can't figure it out to solve this problem. I have developde a layout with JSTL and TAGs, i have this Home.jsp where it calls the tag fetchContent
all the contents are calld by actions and in the fetchContent.tag i have all those actions registerd one of them is login action that call Login.jsp
The problem is if user wants to see the loginsuccess page i wil have to import loginsuccess.jsp and when user logs in, the login.jsp wil not disappear and loginsucces page wil be shown, so both jsp's wil be shown at the same time. So to solve this problem i read this article at coderanch
http://www.javaranch.com/journal/200603/Journal200603.jsp#a5 . I made a separated Controller and calld PageController wich calls all other beans like this
my question is: Is the PageController
pattern right sollution to solve the forwarding login pages(loginsucces, login, logout) wich is in my case is LoginController.javal? i want to know for sure before i make changes in my project becouse refactoring takes much time.
kinds regards,
ubey