Hi..
Here are the Ans for your Question.
1 ) When you write in your browser action name then it Pass to Struts.xml file
then your xml map Action and according your Action it call Action class and call method after return Success and error and input
string return value it again pass Struts.xml and according return type it include jsp.
like : in XML
<action name="doLogin" class="com.printeverywhere.action.AdminLoginAction">
<result name="input">/jsp/login.jsp</result>
<result name="success" type="redirectAction">showMainMenu</result>
</action>
2 ) Yes.
3 ) yes your action decide where to forward (just like controller), than from here we set get something in request/session, and sends to jsp for display.
4 ) In Action class it's
java code so as per your java convention to access it.
5 ) You can use any thing with Struts 2. like JSTL/EL .even Spring also integrate with it.
6 ) Action class must contains Java code obviously.
And my advise if you think to switch on Strus 2.0 then it is very good.
Because it is easy to understand and develop application with Struts 2.0.
You also get more advance plug in for Struts 2.0 which makes your application fast developed.
Thanks,
Nishan Patel.