Hey Sheik ,
you are asking lot of things in the first go itself.
check out the following step
1) create action file shift the code of the adminCheck.jsp in it.
2) map this action file against the call in the struts-config.xml file.
3) also add the forwards to the index.jsp and errorpage.jsp for the action.
4) in the index.jsp, submit the form to this action mapping.
make sure the entries are proper and thats it. This will be ready for the struts framework. THis is very basic level you need to do lot other things to make this perfect in struts.
4)
---------------------------
Vikrant Korde
3i Infotech, Vashi,
Mumbai, Maharashtra, India.
|