This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
<action path="/Data" type="com.actions.DataAction" name="dataForm">
<forward name="success" path="/Success.jsp"></forward>
The question here is , when i type in the http://localhost:9080/<webcontext>/welcome.jsp , will the DataForm object be created ?
No. If you use a URL with .jsp, you are going around the Struts framework and going right to the JSP. To go through Struts, you will have to use a URL that matches the mapping you configured in web.xml, usually (but not necessarily) something ending in .do